summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/statfs64.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 22:46:24 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 22:46:24 +0100
commita9b3c7889ae490534ddab8050222072887691d9d (patch)
treedae31f3bd90e2c69395db4a17608719c57cdb5b9 /libc/misc/statfs/statfs64.c
parentbcf1bfabdef4481d4748e6c4a82b579af628fd75 (diff)
statfs: towards _STATFS_F_FLAGS
preparatory work. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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;