floating point environment, untested
[oweals/musl.git] / src / stat / stat.c
index 9847552afddf29e2f590f8fe43d5a5bb30ac7f43..c5491eb0ed26364d2d7ce5f6442c7ba00087dee8 100644 (file)
@@ -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);