global cleanup to use the new syscall interface
[musl] / src / stdio / __stdio_close.c
index 24fef33..9f7ee18 100644 (file)
@@ -2,5 +2,5 @@
 
 int __stdio_close(FILE *f)
 {
 
 int __stdio_close(FILE *f)
 {
-       return __syscall_close(f->fd);
+       return syscall(SYS_close, f->fd);
 }
 }