* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
This commit is contained in:
parent
0da793ff2b
commit
5b7534fec3
|
@ -1,3 +1,7 @@
|
|||
2004-07-22 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
|
||||
|
||||
2004-07-20 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* shm.cc: Whitespace fixes.
|
||||
|
|
|
@ -194,7 +194,7 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
|||
|
||||
procinfo = (_pinfo *) MapViewOfFileEx (h, access, 0, 0, 0, mapaddr);
|
||||
if (!procinfo)
|
||||
api_fatal ("MapViewOfFileEx failed, %E");
|
||||
api_fatal ("MapViewOfFileEx(%p) failed, %E", h);
|
||||
ProtectHandle1 (h, pinfo_shared_handle);
|
||||
|
||||
if ((procinfo->process_state & PID_INITIALIZING) && (flag & PID_NOREDIR)
|
||||
|
|
Loading…
Reference in New Issue