add portable lchown (trivial to support and a few ancient things want it..)
[musl] / src / stat / fstat.c
index 5f64330..88ac6f3 100644 (file)
@@ -4,7 +4,7 @@
 
 int fstat(int fd, struct stat *buf)
 {
-       return syscall2(__NR_fstat64, fd, (long)buf);
+       return syscall2(__NR_fstat, fd, (long)buf);
 }
 
 LFS64(fstat);