Module Name: src
Committed By: jakllsch
Date: Tue Jul 27 19:44:17 UTC 2010
Modified Files:
src/sys/dev/ic: ncr5380sbc.c
Log Message:
Make debugging code compile on LP64.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/ic/ncr5380sbc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/ncr5380sbc.c
diff -u src/sys/dev/ic/ncr5380sbc.c:1.64 src/sys/dev/ic/ncr5380sbc.c:1.65
--- src/sys/dev/ic/ncr5380sbc.c:1.64 Mon Nov 23 02:13:46 2009
+++ src/sys/dev/ic/ncr5380sbc.c Tue Jul 27 19:44:16 2010
@@ -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: