diff options
Diffstat (limited to 'src/unistd/close.c')
-rw-r--r-- | src/unistd/close.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/unistd/close.c b/src/unistd/close.c index 231f79ef..728d729b 100644 --- a/src/unistd/close.c +++ b/src/unistd/close.c @@ -4,7 +4,5 @@ int close(int fd) { - int ret = syscall_cp(SYS_close, fd); - if (libc.testcancel) libc.testcancel(); - return ret; + return syscall_cp(SYS_close, fd); } |