X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Ffstatat.c;h=863d5268e880d0c53361af6773859ef4994e8e8e;hb=HEAD;hp=22bc2934167cdc1f422489c1948cc22588b7c3d6;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stat/fstatat.c b/src/stat/fstatat.c index 22bc2934..863d5268 100644 --- a/src/stat/fstatat.c +++ b/src/stat/fstatat.c @@ -2,9 +2,9 @@ #include "syscall.h" #include "libc.h" -int fstatat(int fd, const char *path, struct stat *buf, int flag) +int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag) { - return syscall4(__NR_fstatat64, fd, (long)path, (long)buf, flag); + return syscall(SYS_fstatat, fd, path, buf, flag); } LFS64(fstatat);