librasan: Fix errno_location function name (#3172)
This commit is contained in:
parent
c3475cd577
commit
977189174b
@ -45,7 +45,7 @@ struct FunctionErrnoLocation;
|
||||
|
||||
impl Function for FunctionErrnoLocation {
|
||||
type Func = unsafe extern "C" fn() -> *mut c_int;
|
||||
const NAME: &'static CStr = c"errno_location";
|
||||
const NAME: &'static CStr = c"__errno_location";
|
||||
}
|
||||
|
||||
static OPEN_ADDR: AtomicGuestAddr = AtomicGuestAddr::new();
|
||||
|
@ -55,7 +55,7 @@ struct FunctionErrnoLocation;
|
||||
|
||||
impl Function for FunctionErrnoLocation {
|
||||
type Func = unsafe extern "C" fn() -> *mut c_int;
|
||||
const NAME: &'static CStr = c"errno_location";
|
||||
const NAME: &'static CStr = c"__errno_location";
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user