X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Fchmod.c;h=beb66e59d0611cfbe08b0bf5aad6888fc9df32ee;hb=72768ea99e67162b7b42d9cd8917cf9a2c00f1f1;hp=cb310fecd63f38e4035aa25c95bdfb0e464bcbf9;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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); }