summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-20 00:49:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-20 00:49:47 +0000
commitbe61be8f4a672ac13622798179e51bb6cd043020 (patch)
tree597b9ec0da4df42bb78284f2843b9bc4580af0d4 /sys/arch/sparc/dev
parent7e45482dd1e79a08bc2e66e4619a4ade6c158207 (diff)
Pass -Wformat.
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/cs4231.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/cs4231.c b/sys/arch/sparc/dev/cs4231.c
index a607d37d568..19e5f3f7d49 100644
--- a/sys/arch/sparc/dev/cs4231.c
+++ b/sys/arch/sparc/dev/cs4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231.c,v 1.19 2003/06/02 18:40:59 jason Exp $ */
+/* $OpenBSD: cs4231.c,v 1.20 2003/12/20 00:49:45 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -1536,7 +1536,7 @@ cs4231_trigger_output(addr, start, end, blksize, intr, arg, param)
while (p != NULL && p->addr != start)
p = p->next;
if (p == NULL) {
- printf("cs4231_trigger_output: bad addr: %x\n", start);
+ printf("cs4231_trigger_output: bad addr: %p\n", start);
return (EINVAL);
}
@@ -1602,7 +1602,7 @@ cs4231_trigger_input(addr, start, end, blksize, intr, arg, param)
for (p = sc->sc_dmas; p->addr != start; p = p->next)
/*EMPTY*/;
if (p == NULL) {
- printf("%s: trigger_input: bad addr: %x\n",
+ printf("%s: trigger_input: bad addr: %p\n",
sc->sc_dev.dv_xname, start);
return (EINVAL);
}