summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/lock-object.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpager/lock-object.c b/libpager/lock-object.c
index 48298010..d4740ee3 100644
--- a/libpager/lock-object.c
+++ b/libpager/lock-object.c
@@ -16,6 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "barf.h"
/* Request a lock from the kernel on pager P. Parameters OFFSET,
SIZE, SHOULD_RETURN, SHOULD_FLUSH, and LOCK_VALUE are as for
@@ -66,8 +67,8 @@ _pager_lock_object (struct pager *p,
/* XXX */
if (sync)
- printf ("Issuing lock request: p %#x; offset %#x; length %#x\n",
- (int) p, offset, size);
+ barf ("Issuing lock request: p %#x <port = %d>; offset %#x; length %#x\n",
+ (int) p, p->port.port_right, offset, size);
memory_object_lock_request (p->memobjcntl, offset, size, should_return,
should_flush, lock_value,