summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/statfs64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/statfs64.c')
-rw-r--r--libc/misc/statfs/statfs64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c
index 99227977d..ce8211b3e 100644
--- a/libc/misc/statfs/statfs64.c
+++ b/libc/misc/statfs/statfs64.c
@@ -44,6 +44,9 @@ int statfs64 (const char *file, struct statfs64 *buf)
#ifdef _STATFS_F_FRSIZE
buf->f_frsize = buf32.f_frsize;
#endif
+#ifdef _STATFS_F_FLAGS
+ buf->f_flags = buf32.f_flags;
+#endif
memcpy (buf->f_spare, buf32.f_spare, sizeof (buf32.f_spare));
return 0;