Message ID | 0fd9629f7215d1c43968a900238d03d9275a74fa.1687552604.git.nabijaczleweli@nabijaczleweli.xyz |
---|---|
State | New |
Headers | show |
Series | [1/2] hurd: statvfs: __f_type -> f_type | expand |
наб via Libc-alpha, le ven. 23 juin 2023 22:36:56 +0200, a ecrit: > No further changes needed ([f]statvfs() just cast to struct statfs * > and call [f]statfs()). > > Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u > Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> > --- > sysdeps/mach/hurd/bits/statvfs.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sysdeps/mach/hurd/bits/statvfs.h b/sysdeps/mach/hurd/bits/statvfs.h > index 3fbfd93335..a94759ef55 100644 > --- a/sysdeps/mach/hurd/bits/statvfs.h > +++ b/sysdeps/mach/hurd/bits/statvfs.h > @@ -29,7 +29,7 @@ > > struct statvfs > { > - unsigned int __f_type; > + unsigned int f_type; > unsigned long int f_bsize; > #ifndef __USE_FILE_OFFSET64 > __fsblkcnt_t f_blocks; > @@ -59,7 +59,7 @@ struct statvfs > #ifdef __USE_LARGEFILE64 > struct statvfs64 > { > - unsigned int __f_type; > + unsigned int f_type; > unsigned long int f_bsize; > __fsblkcnt64_t f_blocks; > __fsblkcnt64_t f_bfree; > -- > 2.39.2
diff --git a/sysdeps/mach/hurd/bits/statvfs.h b/sysdeps/mach/hurd/bits/statvfs.h index 3fbfd93335..a94759ef55 100644 --- a/sysdeps/mach/hurd/bits/statvfs.h +++ b/sysdeps/mach/hurd/bits/statvfs.h @@ -29,7 +29,7 @@ struct statvfs { - unsigned int __f_type; + unsigned int f_type; unsigned long int f_bsize; #ifndef __USE_FILE_OFFSET64 __fsblkcnt_t f_blocks; @@ -59,7 +59,7 @@ struct statvfs #ifdef __USE_LARGEFILE64 struct statvfs64 { - unsigned int __f_type; + unsigned int f_type; unsigned long int f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree;
No further changes needed ([f]statvfs() just cast to struct statfs * and call [f]statfs()). Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> --- sysdeps/mach/hurd/bits/statvfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)