global cleanup to use the new syscall interface
[musl] / src / stat / mkdir.c
index 8295cad..770e1cc 100644 (file)
@@ -3,5 +3,5 @@
 
 int mkdir(const char *path, mode_t mode)
 {
-       return syscall2(__NR_mkdir, (long)path, mode);
+       return syscall(SYS_mkdir, path, mode);
 }