comparison src/syscalls.cc @ 5775:ace8d8d26933

[project @ 2006-04-24 19:13:06 by jwe]
author jwe
date Mon, 24 Apr 2006 19:13:11 +0000
parents 26beffa9f66f
children 080c08b192d8
comparison
equal deleted inserted replaced
5774:e7af222e98b0 5775:ace8d8d26933
295 int req = args(1).int_value (true); 295 int req = args(1).int_value (true);
296 int arg = args(2).int_value (true); 296 int arg = args(2).int_value (true);
297 297
298 if (! error_state) 298 if (! error_state)
299 { 299 {
300 // XXX FIXME XXX -- Need better checking here? 300 // FIXME -- Need better checking here?
301 if (fid < 0) 301 if (fid < 0)
302 error ("fcntl: invalid file id"); 302 error ("fcntl: invalid file id");
303 else 303 else
304 { 304 {
305 std::string msg; 305 std::string msg;