projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'nsz/review'
[musl]
/
src
/
stat
/
statvfs.c
diff --git
a/src/stat/statvfs.c
b/src/stat/statvfs.c
index
11ad754
..
637bf82
100644
(file)
--- a/
src/stat/statvfs.c
+++ b/
src/stat/statvfs.c
@@
-34,12
+34,12
@@
static void fixup(struct statvfs *out, const struct statfs *in)
out->f_files = in->f_files;
out->f_ffree = in->f_ffree;
out->f_favail = 0;
out->f_files = in->f_files;
out->f_ffree = in->f_ffree;
out->f_favail = 0;
- out->f_fsid = in->f_fsid.val[0];
+ out->f_fsid = in->f_fsid.
__
val[0];
out->f_flag = in->f_flags;
out->f_namemax = in->f_namelen;
}
out->f_flag = in->f_flags;
out->f_namemax = in->f_namelen;
}
-int statvfs(const char *
path, struct statvfs *
buf)
+int statvfs(const char *
restrict path, struct statvfs *restrict
buf)
{
struct statfs kbuf;
if (__statfs(path, &kbuf)<0) return -1;
{
struct statfs kbuf;
if (__statfs(path, &kbuf)<0) return -1;