projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30)
[musl]
/
src
/
stat
/
statvfs.c
diff --git
a/src/stat/statvfs.c
b/src/stat/statvfs.c
index
5fadb3b
..
637bf82
100644
(file)
--- a/
src/stat/statvfs.c
+++ b/
src/stat/statvfs.c
@@
-39,7
+39,7
@@
static void fixup(struct statvfs *out, const struct statfs *in)
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;