summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-13 21:15:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-13 21:15:07 +0000
commit3da676cff927caba56aad47d7505d83e5f23f697 (patch)
tree6ed152086e879f6a516b4295998c2aa5dda34857 /sys/arch/mac68k/dev
parent4feacabc550358774853a495f8ae54888eb9a5e5 (diff)
Then, kill %: printf format...
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r--sys/arch/mac68k/dev/ncr5380.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c
index 18a57171dce..9ce6a12ed86 100644
--- a/sys/arch/mac68k/dev/ncr5380.c
+++ b/sys/arch/mac68k/dev/ncr5380.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr5380.c,v 1.23 2004/01/10 20:49:55 beck Exp $ */
+/* $OpenBSD: ncr5380.c,v 1.24 2004/01/13 21:15:06 miod Exp $ */
/* $NetBSD: ncr5380.c,v 1.38 1996/12/19 21:48:18 scottr Exp $ */
/*
@@ -1877,9 +1877,9 @@ ncr_tprint(SC_REQ *reqp, char *fmt, ...)
{
va_list ap;
- va_start(ap, fmt);
sc_print_addr(reqp->xs->sc_link);
- printf("%:", fmt, ap);
+ va_start(ap, fmt);
+ vprintf(fmt, ap);
va_end(ap);
}
@@ -1891,8 +1891,9 @@ ncr_aprint(struct ncr_softc *sc, char *fmt, ...)
{
va_list ap;
+ printf("%s: ", sc->sc_dev.dv_xname);
va_start(ap, fmt);
- printf("%s : %:", sc->sc_dev.dv_xname, fmt, ap);
+ vprintf(fmt, ap);
va_end(ap);
}
/****************************************************************************