X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstat%2Ffstat.c;h=10228f75240c9b38dfadc101125cc03f07780697;hb=9e17b71fa658f102ecb2f210534070a2328dd6c9;hp=88ac6f3c5a120d9dd75245a1fbdbc941687697a9;hpb=cfe373146d232d7c89a60920f77b9451bcfee96b;p=musl diff --git a/src/stat/fstat.c b/src/stat/fstat.c index 88ac6f3c..10228f75 100644 --- a/src/stat/fstat.c +++ b/src/stat/fstat.c @@ -4,7 +4,7 @@ int fstat(int fd, struct stat *buf) { - return syscall2(__NR_fstat, fd, (long)buf); + return syscall(SYS_fstat, fd, buf); } LFS64(fstat);