* mmap.cc (MapView): Add NT status to debug output.
This commit is contained in:
@@ -221,8 +221,9 @@ MapView (HANDLE h, void *addr, size_t len, DWORD openflags,
|
||||
base = NULL;
|
||||
SetLastError (RtlNtStatusToDosError (ret));
|
||||
}
|
||||
debug_printf ("%x = NtMapViewOfSection (h:%x, addr:%x, len:%u, off:%D, "
|
||||
"protect:%x, type:%x)", base, h, addr, len, off, protect, 0);
|
||||
debug_printf ("%p (status %p) = NtMapViewOfSection (h:%x, addr:%x, len:%u,"
|
||||
" off:%X, protect:%x, type:%x)",
|
||||
base, ret, h, addr, len, off, protect, 0);
|
||||
return base;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user