From a9b3c7889ae490534ddab8050222072887691d9d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 17 Jan 2013 22:46:24 +0100 Subject: statfs: towards _STATFS_F_FLAGS preparatory work. Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/statfs/statfs64.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/misc/statfs/statfs64.c') 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 @@ -43,6 +43,9 @@ int statfs64 (const char *file, struct statfs64 *buf) buf->f_namelen = buf32.f_namelen; #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)); -- cgit v1.2.3