Skip to content

Commit dc2057a

Browse files
committed
Fix spelling.
1 parent 9839435 commit dc2057a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/getauxval.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ unsafe extern "C" fn __getauxval(type_: c_ulong) -> *mut c_void {
2020

2121
fn _getauxval(type_: c_ulong) -> *mut c_void {
2222
match type_ as _ {
23-
linux_raw_sys::auxval::AT_HWCAP => without_provenance_mut(rustix::param::linux_hwcap().0),
24-
linux_raw_sys::auxval::AT_HWCAP2 => without_provenance_mut(rustix::param::linux_hwcap().1),
25-
linux_raw_sys::auxval::AT_MINSIGSTKSZ => {
23+
linux_raw_sys::auxvec::AT_HWCAP => without_provenance_mut(rustix::param::linux_hwcap().0),
24+
linux_raw_sys::auxvec::AT_HWCAP2 => without_provenance_mut(rustix::param::linux_hwcap().1),
25+
linux_raw_sys::auxvec::AT_MINSIGSTKSZ => {
2626
without_provenance_mut(rustix::param::linux_minsigstksz())
2727
}
2828
_ => todo!("unrecognized __getauxval {}", type_),

0 commit comments

Comments
 (0)