X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Fstat.c;h=c5491eb0ed26364d2d7ce5f6442c7ba00087dee8;hb=5a09a53010046fce204cb5138329f8aace79ab1a;hp=67640cc1589a591759248971c58cbc4776006d2d;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stat/stat.c b/src/stat/stat.c index 67640cc1..c5491eb0 100644 --- a/src/stat/stat.c +++ b/src/stat/stat.c @@ -4,7 +4,7 @@ int stat(const char *path, struct stat *buf) { - return syscall2(__NR_stat64, (long)path, (long)buf); + return syscall(SYS_stat, path, buf); } LFS64(stat);