X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstat%2Flstat.c;h=9053d998dc56006071f2f9b4065c1ed4f061b8c4;hb=aa398f56fa398f2202b04e82c67f822f3233786f;hp=3b22e620bd21399def24bf2ae70febf12a1a2b3e;hpb=be82e122bf37fdcd1766d1ed220f0300b30ab6a3;p=musl diff --git a/src/stat/lstat.c b/src/stat/lstat.c index 3b22e620..9053d998 100644 --- a/src/stat/lstat.c +++ b/src/stat/lstat.c @@ -4,7 +4,7 @@ int lstat(const char *path, struct stat *buf) { - return syscall2(__NR_lstat, (long)path, (long)buf); + return syscall(SYS_lstat, path, buf); } LFS64(lstat);