summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/statfs.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-25 17:58:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-25 17:59:55 +0100
commite4d064fa81cbe009c6aca7accaf7a83ff2b70d63 (patch)
tree930edbe8afafb31381d738bfbc6c40fc112e42d2 /libc/sysdeps/linux/mips/bits/statfs.h
parentb654d10d3289c45b1fb702378bd4b96afb11c998 (diff)
statfs.h: add f_flags
Add missing member in struct statfs. It is used by xfsprogs (f.e. 4.13.1). Reported-by: Joshua Kinard <kumba@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/statfs.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/statfs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/bits/statfs.h b/libc/sysdeps/linux/mips/bits/statfs.h
index baa964532..d1c3025c7 100644
--- a/libc/sysdeps/linux/mips/bits/statfs.h
+++ b/libc/sysdeps/linux/mips/bits/statfs.h
@@ -44,7 +44,8 @@ struct statfs
/* Linux specials */
__fsid_t f_fsid;
long int f_namelen;
- long int f_spare[6];
+ long int f_flags;
+ long int f_spare[5];
};
#ifdef __USE_LARGEFILE64
@@ -63,7 +64,8 @@ struct statfs64
/* Linux specials */
__fsid_t f_fsid;
long int f_namelen;
- long int f_spare[6];
+ long int f_flags;
+ long int f_spare[5];
};
#endif