summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-01-13 21:15:06 +0000
committermiod <miod@openbsd.org>2004-01-13 21:15:06 +0000
commit9ecd7a900dfebd339ba9fbc1a709a88f2d0038e7 (patch)
treeed47aa0851ce27c51fa7d3f9ab6c0d771ead6784 /sys
parentUse correct type for magic number. (diff)
downloadwireguard-openbsd-9ecd7a900dfebd339ba9fbc1a709a88f2d0038e7.tar.xz
wireguard-openbsd-9ecd7a900dfebd339ba9fbc1a709a88f2d0038e7.zip
Then, kill %: printf format...
Diffstat (limited to 'sys')
-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);
}
/****************************************************************************