Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 tweak previous; use '%#x' instead of '0x%...



details:   https://anonhg.NetBSD.org/src/rev/272cc95b3c28
branches:  trunk
changeset: 547528:272cc95b3c28
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed May 21 23:47:55 2003 +0000

description:
tweak previous; use '%#x' instead of '0x%x' (and the lx equivalents)

diffstat:

 sys/arch/i386/i386/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 66154b1d7569 -r 272cc95b3c28 sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Wed May 21 23:12:18 2003 +0000
+++ b/sys/arch/i386/i386/trap.c Wed May 21 23:47:55 2003 +0000
@@ -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 @@
                                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;
                }



Home | Main Index | Thread Index | Old Index