Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm32/shark Nuke some warnings when KERNEL_DEBUG is...



details:   https://anonhg.NetBSD.org/src/rev/32e1d783a645
branches:  trunk
changeset: 484109:32e1d783a645
user:      scw <scw%NetBSD.org@localhost>
date:      Sat Mar 25 21:26:47 2000 +0000

description:
Nuke some warnings when KERNEL_DEBUG is defined.

diffstat:

 sys/arch/arm32/shark/pms.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a3e13129553a -r 32e1d783a645 sys/arch/arm32/shark/pms.c
--- a/sys/arch/arm32/shark/pms.c        Sat Mar 25 21:09:08 2000 +0000
+++ b/sys/arch/arm32/shark/pms.c        Sat Mar 25 21:26:47 2000 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: pms.c,v 1.5 1999/01/24 18:58:12 sommerfe Exp $        */
+/*      $NetBSD: pms.c,v 1.6 2000/03/25 21:26:47 scw Exp $        */
 
 /*
  * Copyright 1997
@@ -291,7 +291,7 @@
                 else
                 {
                     KERN_DEBUG(pmsdebug, KERN_DEBUG_ERROR,
-                               ("pmsprobe: aux test failed %x\n", status ));
+                               ("pmsprobe: aux test failed\n"));
                 }
                 /* 
                 ** Disable the mouse.  It is enabled when 
@@ -364,7 +364,7 @@
     sc->sc_ih     = isa_intr_establish(ia->ia_ic, irq, IST_LEVEL, 
                                        IPL_TTY, pmsintr, sc);
     KERN_DEBUG(pmsdebug, KERN_DEBUG_INFO,
-               ("pmsattach: IOT 0x%x: IOH 0x%x\n", sc->sc_iot, sc->sc_ioh));
+               ("pmsattach: IOT 0x%p: IOH 0x%lx\n", sc->sc_iot, sc->sc_ioh));
 
     return;
 } /* End pmsattach */



Home | Main Index | Thread Index | Old Index