Browse Source

sync with glibc, should fix the swap* segfaults in ltp

Mike Frysinger 19 years ago
parent
commit
0ebdd0e14d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libc/sysdeps/linux/common/bits/statfs.h

+ 3 - 0
libc/sysdeps/linux/common/bits/statfs.h

@@ -41,6 +41,7 @@ struct statfs
 #endif
     __fsid_t f_fsid;
     __SWORD_TYPE f_namelen;
+    __SWORD_TYPE f_frsize;
     __SWORD_TYPE f_spare[5];
   };
 
@@ -56,9 +57,11 @@ struct statfs64
     __fsfilcnt64_t f_ffree;
     __fsid_t f_fsid;
     __SWORD_TYPE f_namelen;
+    __SWORD_TYPE f_frsize;
     __SWORD_TYPE f_spare[5];
   };
 #endif
 
 /* Tell code we have these members.  */
 #define _STATFS_F_NAMELEN
+#define _STATFS_F_FRSIZE