floating point environment, untested
[oweals/musl.git] / src / stat / stat.c
index 67640cc1589a591759248971c58cbc4776006d2d..c5491eb0ed26364d2d7ce5f6442c7ba00087dee8 100644 (file)
@@ -4,7 +4,7 @@
 
 int stat(const char *path, struct stat *buf)
 {
-       return syscall2(__NR_stat64, (long)path, (long)buf);
+       return syscall(SYS_stat, path, buf);
 }
 
 LFS64(stat);