fix typo introduced in poll.h
[musl] / src / unistd / close.c
index f52c0ef..728d729 100644 (file)
@@ -4,8 +4,5 @@
 
 int close(int fd)
 {
-       int ret = syscall(SYS_close, fd);
-       CANCELPT_BEGIN;
-       CANCELPT_END;
-       return ret;
+       return syscall_cp(SYS_close, fd);
 }