* mmap.cc (MapView): Add NT status to debug output.
This commit is contained in:
parent
d5567b8d75
commit
b007725e34
|
@ -1,3 +1,7 @@
|
|||
2008-11-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mmap.cc (MapView): Add NT status to debug output.
|
||||
|
||||
2008-11-11 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* autoload.cc (GetSystemDEPPolicy): Define.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue