summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/mmap.cc
diff options
context:
space:
mode:
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;
}