Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Make debugging code compile on LP64.



details:   https://anonhg.NetBSD.org/src/rev/2988851ebaac
branches:  trunk
changeset: 756658:2988851ebaac
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Jul 27 19:44:16 2010 +0000

description:
Make debugging code compile on LP64.

diffstat:

 sys/dev/ic/ncr5380sbc.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 0a29b34a4993 -r 2988851ebaac sys/dev/ic/ncr5380sbc.c
--- a/sys/dev/ic/ncr5380sbc.c   Tue Jul 27 19:40:16 2010 +0000
+++ b/sys/dev/ic/ncr5380sbc.c   Tue Jul 27 19:44:16 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr5380sbc.c,v 1.64 2009/11/23 02:13:46 rmind Exp $    */
+/*     $NetBSD: ncr5380sbc.c,v 1.65 2010/07/27 19:44:16 jakllsch Exp $ */
 
 /*
  * Copyright (c) 1995 David Jones, Gordon W. Ross
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ncr5380sbc.c,v 1.64 2009/11/23 02:13:46 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ncr5380sbc.c,v 1.65 2010/07/27 19:44:16 jakllsch Exp $");
 
 #include "opt_ddb.h"
 
@@ -564,11 +564,11 @@
         * be idle, so try to start another job.
         */
        if (sc->sc_state == NCR_IDLE) {
-               NCR_TRACE("cmd_tmo: call sched, cur=0x%x\n",
-                                 (long) sc->sc_current);
+               NCR_TRACE("cmd_tmo: call sched, cur=0x%lx\n",
+                   (long)sc->sc_current);
                ncr5380_sched(sc);
-               NCR_TRACE("cmd_tmo: sched done, cur=0x%x\n",
-                   (int)sc->sc_current);
+               NCR_TRACE("cmd_tmo: sched done, cur=0x%lx\n",
+                   (long)sc->sc_current);
        }
 
 out:



Home | Main Index | Thread Index | Old Index