floating point environment, untested
[oweals/musl.git] / src / stat / lstat.c
index afdb553841ec1106bcccb0f0c90ce16268196649..9053d998dc56006071f2f9b4065c1ed4f061b8c4 100644 (file)
@@ -4,7 +4,7 @@
 
 int lstat(const char *path, struct stat *buf)
 {
-       return syscall2(__NR_lstat64, (long)path, (long)buf);
+       return syscall(SYS_lstat, path, buf);
 }
 
 LFS64(lstat);