summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 a9289867..ab4afc0f 100644
--- a/src/stat/fstat.c
+++ b/src/stat/fstat.c
@@ -17,7 +17,7 @@ int fstat(int fd, struct stat *st)
#ifdef SYS_stat
return syscall(SYS_stat, buf, st);
#else
- return syscall(SYS_fstatat, AT_FDCWD, buf, st);
+ return syscall(SYS_fstatat, AT_FDCWD, buf, st, 0);
#endif
}