summaryrefslogtreecommitdiff
path: root/src/stat/fstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/fstat.c')
-rw-r--r--src/stat/fstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fstat.c b/src/stat/fstat.c
index 88ac6f3c..10228f75 100644
--- a/src/stat/fstat.c
+++ b/src/stat/fstat.c
@@ -4,7 +4,7 @@
int fstat(int fd, struct stat *buf)
{
- return syscall2(__NR_fstat, fd, (long)buf);
+ return syscall(SYS_fstat, fd, buf);
}
LFS64(fstat);