* fhandler_registry.cc (fhandler_registry::close): Return any error result to
the caller. * syscalls.cc (_close): Return result of fhandler::close to the caller.
This commit is contained in:
@@ -578,9 +578,8 @@ _close (int fd)
|
||||
res = -1;
|
||||
else
|
||||
{
|
||||
cfd->close ();
|
||||
res = cfd->close ();
|
||||
cfd.release ();
|
||||
res = 0;
|
||||
}
|
||||
|
||||
syscall_printf ("%d = close (%d)", res, fd);
|
||||
|
Reference in New Issue
Block a user