floating point environment, untested
[oweals/musl.git] / src / stat / chmod.c
index cb310fecd63f38e4035aa25c95bdfb0e464bcbf9..beb66e59d0611cfbe08b0bf5aad6888fc9df32ee 100644 (file)
@@ -3,5 +3,5 @@
 
 int chmod(const char *path, mode_t mode)
 {
-       return syscall2(__NR_chmod, (long)path, mode);
+       return syscall(SYS_chmod, path, mode);
 }