summaryrefslogtreecommitdiff
path: root/libpager/lock-object.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-21 00:29:19 +0000
committerMiles Bader <miles@gnu.org>1996-02-21 00:29:19 +0000
commit8b41f382fa5b7f94c51dafa3a4f66dc7fde3c9cc (patch)
tree28e2fc8bbfc1672110b9b78a81786cbc75f6c7c6 /libpager/lock-object.c
parenta095bd1c020058adfbddb1606d368830268c545d (diff)
(_pager_lock_object): Use barf instead of printf.
Diffstat (limited to 'libpager/lock-object.c')
-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,