diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 02:25:03 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 02:25:03 +0200 |
commit | f55a4fdefb00837f2e2a77c04792e69e888ead3e (patch) | |
tree | 738a40d4f4ff80c4c74a711158c5d8211b6a25c2 | |
parent | 9d9f8f03afdbec53785522e1df421d70d2777f45 (diff) | |
download | glibc-f55a4fdefb00837f2e2a77c04792e69e888ead3e.tar.gz glibc-f55a4fdefb00837f2e2a77c04792e69e888ead3e.tar.xz glibc-f55a4fdefb00837f2e2a77c04792e69e888ead3e.zip |
hurd: Update struct statfs according to struct statvfs
* sysdeps/mach/hurd/bits/statfs.h (struct statfs): Make f_bsize, f_namemax, f_frsize, and f_flag fields unsigned long int instead of unsigned int. (struct statfs64): Likewise.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/bits/statfs.h | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog index cd0734fbbc..ec19da47f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,8 @@ f_namemax, f_frsize, and f_flag fields unsigned long int instead of unsigned int. (struct statvfs64): Likewise. + * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): + Likewise. 2018-04-18 Joseph Myers <joseph@codesourcery.com> diff --git a/sysdeps/mach/hurd/bits/statfs.h b/sysdeps/mach/hurd/bits/statfs.h index 0063e6865f..82e570b222 100644 --- a/sysdeps/mach/hurd/bits/statfs.h +++ b/sysdeps/mach/hurd/bits/statfs.h @@ -37,7 +37,7 @@ struct statfs { unsigned int f_type; - unsigned int f_bsize; + unsigned long int f_bsize; #ifndef __USE_FILE_OFFSET64 __fsblkcnt_t f_blocks; __fsblkcnt_t f_bfree; @@ -52,14 +52,14 @@ struct statfs __fsblkcnt64_t f_ffree; #endif __fsid_t f_fsid; - unsigned int f_namelen; + unsigned long int f_namelen; #ifndef __USE_FILE_OFFSET64 __fsfilcnt_t f_favail; #else __fsfilcnt64_t f_favail; #endif - unsigned int f_frsize; - unsigned int f_flag; + unsigned long int f_frsize; + unsigned long int f_flag; unsigned int f_spare[3]; }; @@ -67,17 +67,17 @@ struct statfs struct statfs64 { unsigned int f_type; - unsigned int f_bsize; + unsigned long int f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; __fsblkcnt64_t f_files; __fsblkcnt64_t f_ffree; __fsid_t f_fsid; - unsigned int f_namelen; + unsigned long int f_namelen; __fsfilcnt64_t f_favail; - unsigned int f_frsize; - unsigned int f_flag; + unsigned long int f_frsize; + unsigned long int f_flag; unsigned int f_spare[3]; }; #endif |