X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Flstat.c;h=8f60358c19c19e9df8e5df653522b98935eb411b;hb=HEAD;hp=afdb553841ec1106bcccb0f0c90ce16268196649;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stat/lstat.c b/src/stat/lstat.c index afdb5538..8f60358c 100644 --- a/src/stat/lstat.c +++ b/src/stat/lstat.c @@ -2,9 +2,9 @@ #include "syscall.h" #include "libc.h" -int lstat(const char *path, struct stat *buf) +int lstat(const char *restrict path, struct stat *restrict buf) { - return syscall2(__NR_lstat64, (long)path, (long)buf); + return syscall(SYS_lstat, path, buf); } LFS64(lstat);