Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/dev printf format mismatch in DEBUG code (rel...



details:   https://anonhg.NetBSD.org/src/rev/2a2cf80fec20
branches:  trunk
changeset: 482003:2a2cf80fec20
user:      kleink <kleink%NetBSD.org@localhost>
date:      Fri Feb 11 23:00:47 2000 +0000

description:
printf format mismatch in DEBUG code (related to already fixed PR hp300/9388).

diffstat:

 sys/arch/hp300/dev/rd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 60f1cb9c3df9 -r 2a2cf80fec20 sys/arch/hp300/dev/rd.c
--- a/sys/arch/hp300/dev/rd.c   Fri Feb 11 22:56:15 2000 +0000
+++ b/sys/arch/hp300/dev/rd.c   Fri Feb 11 23:00:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rd.c,v 1.39 2000/02/07 20:16:50 thorpej Exp $  */
+/*     $NetBSD: rd.c,v 1.40 2000/02/11 23:00:47 kleink Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -819,7 +819,7 @@
         */
 #ifdef DEBUG
        if (rddebug & RDB_ERROR)
-               printf("%s: rdstart: cmd %x adr %lx blk %d len %d ecnt %ld\n",
+               printf("%s: rdstart: cmd %x adr %lx blk %d len %d ecnt %d\n",
                       rs->sc_dev.dv_xname, rs->sc_ioc.c_cmd, rs->sc_ioc.c_addr,
                       bp->b_blkno, rs->sc_resid, rs->sc_errcnt);
        rs->sc_stats.rdretries++;



Home | Main Index | Thread Index | Old Index