about summary refs log tree commit diff
path: root/src/stat/lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/lstat.c')
-rw-r--r--src/stat/lstat.c2
1 files changed, 1 insertions, 1 deletions
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);