summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-05-21 23:47:55 +0000
committerlukem <lukem@NetBSD.org>2003-05-21 23:47:55 +0000
commitf94e08c4e256ff27a35a2b3aae3ead3d49c2e1a5 (patch)
treece8b8e1f8835b0386a7e5880fd350ecfe8911cd4
parent9dc4f5f53349bcdc2847488916f44b7356e4dcf1 (diff)
tweak previous; use '%#x' instead of '0x%x' (and the lx equivalents)
-rw-r--r--sys/arch/i386/i386/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index f666fc62c18..b8d58fa308e 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.180 2003/05/21 16:48:34 simonb Exp $ */
+/* $NetBSD: trap.c,v 1.181 2003/05/21 23:47:55 lukem Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.180 2003/05/21 16:48:34 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.181 2003/05/21 23:47:55 lukem Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -570,7 +570,7 @@ copyfault:
KERNEL_UNLOCK();
goto copyfault;
}
- printf("uvm_fault(%p, 0x%lx, 0, %d) -> 0x%x\n",
+ printf("uvm_fault(%p, %#lx, 0, %d) -> %#x\n",
map, va, ftype, error);
goto we_re_toast;
}