Skip to content

Commit bdd80b6

Browse files
committed
review: specify alignment attribute for fanotify_event_metadata.
1 parent 42ac577 commit bdd80b6

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ s! {
477477
pub len: u32
478478
}
479479

480+
#[repr(align(8))]
480481
pub struct fanotify_event_metadata {
481482
pub event_len: __u32,
482483
pub vers: __u8,

0 commit comments

Comments
 (0)