Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-11-21 13:52:10 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-11-21 13:52:10 +0300
commitb007725e34dc3918f25a5e8c8487d6424def7e3f (patch)
tree6d44f07bdc6cb257b8267f4bdf2646d58181de6e /winsup/cygwin/mmap.cc
parentd5567b8d752bc79cfd35d7a3ff1e0097b95a544e (diff)
* mmap.cc (MapView): Add NT status to debug output.
Diffstat (limited to 'winsup/cygwin/mmap.cc')
-rw-r--r--winsup/cygwin/mmap.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc
index 4616410ec..53e552368 100644
--- a/winsup/cygwin/mmap.cc
+++ b/winsup/cygwin/mmap.cc
@@ -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;
}