diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mac68k/dev/ncr5380.c | 9 |
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); } /**************************************************************************** |