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 c11b7db23..99227977d 100644
--- a/libc/misc/statfs/statfs64.c
+++ b/libc/misc/statfs/statfs64.c
@@ -41,6 +41,9 @@ int statfs64 (const char *file, struct statfs64 *buf)
buf->f_ffree = buf32.f_ffree;
buf->f_fsid = buf32.f_fsid;
buf->f_namelen = buf32.f_namelen;
+#ifdef _STATFS_F_FRSIZE
+ buf->f_frsize = buf32.f_frsize;
+#endif
memcpy (buf->f_spare, buf32.f_spare, sizeof (buf32.f_spare));
return 0;