X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fclose.c;h=728d729b02a06c9f3ea0307a20863525020ad28f;hb=f59cedb549c642277673d28357e038801fecca64;hp=97302f676719074f6d46a674654cdfed30ee90b9;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/close.c b/src/unistd/close.c index 97302f67..728d729b 100644 --- a/src/unistd/close.c +++ b/src/unistd/close.c @@ -4,8 +4,5 @@ int close(int fd) { - int ret = __syscall_close(fd); - CANCELPT_BEGIN; - CANCELPT_END; - return ret; + return syscall_cp(SYS_close, fd); }