X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Ffchmodat.c;h=61d3206553e6770d18ae1b53bda2f071fb5e7768;hb=030e52639248ac8417a4934298caa78c21a228d1;hp=f4f22b2c7f4f271c2402fd5a8ebb250dbc7858e9;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stat/fchmodat.c b/src/stat/fchmodat.c index f4f22b2c..61d32065 100644 --- a/src/stat/fchmodat.c +++ b/src/stat/fchmodat.c @@ -3,5 +3,5 @@ int fchmodat(int fd, const char *path, mode_t mode, int flag) { - return syscall4(__NR_fchmodat, fd, (long)path, mode, flag); + return syscall(SYS_fchmodat, fd, path, mode, flag); }