summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/sbic.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-20 00:34:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-20 00:34:33 +0000
commit7e45482dd1e79a08bc2e66e4619a4ade6c158207 (patch)
treed7a453b68a67035c8c55bb918ba95ab09b06f861 /sys/arch/mvme68k/dev/sbic.c
parenta06160fcc491c92193f68f0a9859d611a7996aa1 (diff)
Passl -Wformat. Fix some blatant -Wuninitialized errors as well.
Diffstat (limited to 'sys/arch/mvme68k/dev/sbic.c')
-rw-r--r--sys/arch/mvme68k/dev/sbic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c
index ec350415b07..7090dd5d764 100644
--- a/sys/arch/mvme68k/dev/sbic.c
+++ b/sys/arch/mvme68k/dev/sbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbic.c,v 1.14 2003/11/03 06:54:25 david Exp $ */
+/* $OpenBSD: sbic.c,v 1.15 2003/12/20 00:34:28 miod Exp $ */
/* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */
/*
@@ -1605,7 +1605,7 @@ sbicgo(dev, xs)
count = acb->sc_kv.dc_count;
if ( count && ((char *)kvtop((vaddr_t)addr) != acb->sc_pa.dc_addr) ) {
- printf("sbic: DMA buffer mapping changed %x->%x\n",
+ printf("sbic: DMA buffer mapping changed %p->%lx\n",
acb->sc_pa.dc_addr, kvtop((vaddr_t)addr));
#ifdef DDB
Debugger();
@@ -1748,7 +1748,7 @@ sbicpoll(dev)
{
sbic_regmap_p regs = dev->sc_sbicp;
u_char asr,
- csr;
+ csr = 0;
int i;
/*
@@ -2513,7 +2513,7 @@ sbicnextstate(dev, csr, asr)
}
if ( acb == NULL ) {
- printf("%s: reselect %s targ %d not in nexus_list %x\n",
+ printf("%s: reselect %s targ %d not in nexus_list %p\n",
dev->sc_dev.dv_xname,
csr == SBIC_CSR_RSLT_NI ? "NI" : "IFY", newtarget,
&dev->nexus_list.tqh_first);