浏览代码

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

Mike Frysinger 19 年之前
父节点
当前提交
0ebdd0e14d
共有 1 个文件被更改,包括 3 次插入0 次删除
  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