Skip to content

Commit 2cd9b40

Browse files
author
Douman
committed
Correct si-value field accessor in netbsd
1 parent ae975e2 commit 2cd9b40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub type vm_size_t = ::uintptr_t;
1111

1212
impl siginfo_t {
1313
pub unsafe fn si_value(&self) -> ::sigval {
14-
self.timer().si_sigval
14+
self.timer()._value
1515
}
1616

1717
pub unsafe fn timer(&self) -> ::_timer {

src/unix/bsd/netbsdlike/openbsd/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ s! {
310310

311311
impl siginfo_t {
312312
pub unsafe fn si_value(&self) -> ::sigval {
313-
self.timer().si_sigval
313+
self.timer()._value
314314
}
315315

316316
pub unsafe fn timer(&self) -> ::_timer {

0 commit comments

Comments
 (0)