projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix missing flags arg to fstatat syscall in fstat fallback path
[musl]
/
src
/
stat
/
fstat.c
diff --git
a/src/stat/fstat.c
b/src/stat/fstat.c
index
a928986
..
ab4afc0
100644
(file)
--- 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
}