about summary refs log tree commit diff
path: root/src/stat/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/stat.c')
-rw-r--r--src/stat/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/stat.c b/src/stat/stat.c
index 9847552a..c5491eb0 100644
--- a/src/stat/stat.c
+++ b/src/stat/stat.c
@@ -4,7 +4,7 @@
 
 int stat(const char *path, struct stat *buf)
 {
-	return syscall2(__NR_stat, (long)path, (long)buf);
+	return syscall(SYS_stat, path, buf);
 }
 
 LFS64(stat);