diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-06-29 17:31:13 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-06-29 17:31:13 +0000 |
commit | 5a4cacae5225ca052dcad1fbe440c23cc46a75c8 (patch) | |
tree | e881c399e035e976946e21dfd79ff747f0743bfa | |
parent | 23f04176e3cd0e69e31a142152c4d29afc85232e (diff) |
quell a "not a pointer" warning by using 0x%lx instead of %p for a vaddr_t
suggested by art@
-rw-r--r-- | sys/uvm/uvm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index bc5c6c87e3c..2c6b39d066a 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.59 2003/05/05 17:54:59 drahn Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.60 2003/06/29 17:31:12 avsm Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -319,7 +319,7 @@ _uvm_tree_sanity(vm_map_t map, const char *name) goto error; } if (trtmp != NULL && trtmp->start >= tmp->start) { - printf("%s: corrupt: %p >= %p\n", + printf("%s: corrupt: 0x%lx >= 0x%lx\n", name, trtmp->start, tmp->start); goto error; } |