summaryrefslogtreecommitdiff
path: root/libhurd-mm
diff options
context:
space:
mode:
authorneal <neal>2008-06-22 08:54:31 +0000
committerneal <neal>2008-06-22 08:54:31 +0000
commit9929decf0860291ea6f7d5fc2eb1ed024edf0afa (patch)
tree6103f4cc550df92aaf0386210e513620fc6ad0ca /libhurd-mm
parent6a007004f94584cdeaf227086dec6ef915b0c271 (diff)
2008-06-22 Neal H. Walfield <neal@gnu.org>
* mprotect.c (mprotect): Tweak debugging output.
Diffstat (limited to 'libhurd-mm')
-rw-r--r--libhurd-mm/ChangeLog4
-rw-r--r--libhurd-mm/mprotect.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libhurd-mm/ChangeLog b/libhurd-mm/ChangeLog
index 2bc99d3..9764c49 100644
--- a/libhurd-mm/ChangeLog
+++ b/libhurd-mm/ChangeLog
@@ -1,5 +1,9 @@
2008-06-22 Neal H. Walfield <neal@gnu.org>
+ * mprotect.c (mprotect): Tweak debugging output.
+
+2008-06-22 Neal H. Walfield <neal@gnu.org>
+
* anonymous.c (mdestroy) [! NDEBUG]: Don't void capability slots,
we destroy the associated objects, which does that.
diff --git a/libhurd-mm/mprotect.c b/libhurd-mm/mprotect.c
index 91e1321..003feba 100644
--- a/libhurd-mm/mprotect.c
+++ b/libhurd-mm/mprotect.c
@@ -34,7 +34,7 @@ mprotect (void *addr, size_t length, int prot)
uintptr_t start = (uintptr_t) addr;
uintptr_t end = start + length - 1;
- debug (0, "(%p, %x (%p),%s%s)", addr, length, end,
+ debug (5, "(%p, %x (%p),%s%s)", addr, length, end,
prot == 0 ? " PROT_NONE" : (prot & PROT_READ ? " PROT_READ" : ""),
prot & PROT_WRITE ? " PROT_WRITE" : "");