Skip to content

Commit c7972f2

Browse files
committed
Add Padding wrapper to padding fields
1 parent af84143 commit c7972f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/unix/linux_like/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,11 @@ cfg_if! {
307307
#[cfg(target_os = "linux")]
308308
pub stx_atomic_write_unit_max_opt: crate::__u32,
309309
#[cfg(target_os = "linux")]
310-
__statx_pad2: [crate::__u32; 1],
310+
__statx_pad2: Padding<[crate::__u32; 1]>,
311311
#[cfg(target_os = "linux")]
312-
__statx_pad3: [crate::__u64; 8],
312+
__statx_pad3: Padding<[crate::__u64; 8]>,
313313
#[cfg(not(target_os = "linux"))]
314-
__statx_pad3: [crate::__u64; 12],
314+
__statx_pad3: Padding<[crate::__u64; 12]>,
315315
}
316316

317317
pub struct statx_timestamp {

0 commit comments

Comments
 (0)