floating point environment, untested
[oweals/musl.git] / src / stat / fstat.c
index 5f6433014d68d55a29c41ed5aadcb0b7aa18b82d..10228f75240c9b38dfadc101125cc03f07780697 100644 (file)
@@ -4,7 +4,7 @@
 
 int fstat(int fd, struct stat *buf)
 {
-       return syscall2(__NR_fstat64, fd, (long)buf);
+       return syscall(SYS_fstat, fd, buf);
 }
 
 LFS64(fstat);