diff options
Diffstat (limited to 'src/stat/chmod.c')
-rw-r--r-- | src/stat/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/chmod.c b/src/stat/chmod.c index cb310fec..beb66e59 100644 --- a/src/stat/chmod.c +++ b/src/stat/chmod.c @@ -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); } |