summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorjakllsch <jakllsch@NetBSD.org>2010-07-27 19:44:16 +0000
committerjakllsch <jakllsch@NetBSD.org>2010-07-27 19:44:16 +0000
commita72d5a5dfea5ccea67f744dfac9de4c6ff78d330 (patch)
treee5c1015f6b806c7b05ff9c56cc483f37ceeada9a /sys/dev/ic
parent792148e6de522dcb5cb47c2574b15af75445c4ca (diff)
Make debugging code compile on LP64.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ncr5380sbc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c
index 29c2ae75ad3..4638c2b6217 100644
--- a/sys/dev/ic/ncr5380sbc.c
+++ b/sys/dev/ic/ncr5380sbc.c
@@ -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 @@ ncr5380_cmd_timeout(void *arg)
* 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: