X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Ffchownat.c;h=62457a3ec0eb794d63043f8dc8be0e32415347b7;hb=f59cedb549c642277673d28357e038801fecca64;hp=706264281812eea2ed4aa25c17e41f6b5c1ab3a2;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/fchownat.c b/src/unistd/fchownat.c index 70626428..62457a3e 100644 --- a/src/unistd/fchownat.c +++ b/src/unistd/fchownat.c @@ -3,5 +3,5 @@ int fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag) { - return syscall5(__NR_fchownat, fd, (long)path, uid, gid, flag); + return syscall(SYS_fchownat, fd, path, uid, gid, flag); }