Skip to content

Commit e0c0bf4

Browse files
committed
Merge pull request rust-lang#109 from semarie/openbsd-si_addr
openbsd: map `si_addr` inside `struct siginfo_t`
2 parents 4b9b07c + 73a2dbc commit e0c0bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/bsd/openbsdlike/openbsd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ s! {
9999
pub si_signo: ::c_int,
100100
pub si_code: ::c_int,
101101
pub si_errno: ::c_int,
102-
__pad1: ::c_int,
103-
__pad2: [u8; 240],
102+
pub si_addr: *mut ::c_void,
103+
__pad: [u8; 116],
104104
}
105105
}
106106

0 commit comments

Comments
 (0)