summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_watch.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-08 06:43:57 +0000
committerbde <bde@FreeBSD.org>1998-07-08 06:43:57 +0000
commite4073f6c6f4a289d5835689c40d16570af33de12 (patch)
treeb3ad7a56c10aa333f9ae5cb948681899c4762997 /sys/ddb/db_watch.c
parent831331ce50c7e9a030bdecbc1be8eb330079600b (diff)
downloadFreeBSD-src-e4073f6c6f4a289d5835689c40d16570af33de12.zip
FreeBSD-src-e4073f6c6f4a289d5835689c40d16570af33de12.tar.gz
Fixed db_printf format errors.
Diffstat (limited to 'sys/ddb/db_watch.c')
-rw-r--r--sys/ddb/db_watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c
index 1fa3c34..7769341 100644
--- a/sys/ddb/db_watch.c
+++ b/sys/ddb/db_watch.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_watch.c,v 1.15 1997/06/14 11:52:37 bde Exp $
+ * $Id: db_watch.c,v 1.16 1998/02/13 02:19:29 bde Exp $
*/
/*
@@ -174,9 +174,9 @@ db_list_watchpoints()
for (watch = db_watchpoint_list;
watch != 0;
watch = watch->link)
- db_printf("%s%8x %8x %x\n",
+ db_printf("%s%8p %8x %x\n",
db_map_current(watch->map) ? "*" : " ",
- watch->map, watch->loaddr,
+ (void *)watch->map, watch->loaddr,
watch->hiaddr - watch->loaddr);
}
OpenPOWER on IntegriCloud