global cleanup to use the new syscall interface
[musl] / src / stat / lstat.c
index 3b22e62..9053d99 100644 (file)
@@ -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);