Skip to content

Commit 7bbbfb0

Browse files
committed
fixup! Rearrange sockaddr_storage padding/alignment fields
1 parent 4c74b89 commit 7bbbfb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fuchsia/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,8 @@ s_no_extra_traits! {
909909

910910
pub struct sockaddr_storage {
911911
pub ss_family: sa_family_t,
912+
__ss_pad2: [u8; 128 - 2 - 8],
912913
__ss_align: ::size_t,
913-
__ss_pad2: [u8; 128 - 2 * 8],
914914
}
915915

916916
pub struct utsname {

0 commit comments

Comments
 (0)