Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Oct 27, 2020
1 parent aa12800 commit bfe4111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heim-process/src/sys/windows/bindings/handle/limited_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl ProcessHandle<QueryLimitedInformation> {
unsafe { Ok(pbi.assume_init()) }
} else {
Err(Error::from_raw_os_error(status | winerror::FACILITY_NT_BIT)
.with_ffi("NtQueryInformationProcess")
.with_ffi("NtQueryInformationProcessBasicInfo")
.into())
}
}
Expand All @@ -252,7 +252,7 @@ impl ProcessHandle<QueryLimitedInformation> {

if ret != ntstatus::STATUS_SUCCESS {
return Err(Error::from_raw_os_error(ret | winerror::FACILITY_NT_BIT)
.with_ffi("NtQueryInformationProcess")
.with_ffi("NtQueryInformationProcessPeb32")
.into());
}

Expand Down

0 comments on commit bfe4111

Please sign in to comment.