diff --git a/src/sys/statfs.rs b/src/sys/statfs.rs index f463400eae..3d824c80e3 100644 --- a/src/sys/statfs.rs +++ b/src/sys/statfs.rs @@ -29,10 +29,10 @@ pub struct FsType(libc::c_ulong); pub struct FsType(u32); #[cfg(all(target_os = "linux", target_env = "musl"))] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(libc::c_ulong); +pub struct FsType(pub libc::c_ulong); #[cfg(all(target_os = "linux", not(any(target_arch = "s390x", target_env = "musl"))))] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(libc::c_long); +pub struct FsType(pub libc::c_long); #[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] pub const ADFS_SUPER_MAGIC: FsType = FsType(libc::ADFS_SUPER_MAGIC);