finish moving 32-bit-specific junk out of source files.
[musl] / src / stat / stat.c
index 67640cc..9847552 100644 (file)
@@ -4,7 +4,7 @@
 
 int stat(const char *path, struct stat *buf)
 {
-       return syscall2(__NR_stat64, (long)path, (long)buf);
+       return syscall2(__NR_stat, (long)path, (long)buf);
 }
 
 LFS64(stat);