diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-11-21 10:52:10 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-11-21 10:52:10 +0000 |
commit | b007725e34dc3918f25a5e8c8487d6424def7e3f (patch) | |
tree | 6d44f07bdc6cb257b8267f4bdf2646d58181de6e /winsup/cygwin/mmap.cc | |
parent | d5567b8d752bc79cfd35d7a3ff1e0097b95a544e (diff) | |
download | cygnal-b007725e34dc3918f25a5e8c8487d6424def7e3f.tar.gz cygnal-b007725e34dc3918f25a5e8c8487d6424def7e3f.tar.bz2 cygnal-b007725e34dc3918f25a5e8c8487d6424def7e3f.zip |
* mmap.cc (MapView): Add NT status to debug output.
Diffstat (limited to 'winsup/cygwin/mmap.cc')
-rw-r--r-- | winsup/cygwin/mmap.cc | 5 |
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; } |