Change %r -> %: as for recursive printf's
This commit is contained in:
parent
62dcb879c0
commit
933d138841
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ncr5380.c,v 1.17 1996/03/17 01:26:53 thorpej Exp $ */
|
||||
/* $NetBSD: ncr5380.c,v 1.18 1996/03/30 21:01:21 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman.
|
||||
@ -1896,7 +1896,7 @@ ncr_tprint(SC_REQ *reqp, char *fmt, ...)
|
||||
|
||||
va_start(ap, fmt);
|
||||
sc_print_addr(reqp->xs->sc_link);
|
||||
printf("%r", fmt, ap);
|
||||
printf("%:", fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
@ -1909,7 +1909,7 @@ ncr_aprint(struct ncr_softc *sc, char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
printf("%s : %r", sc->sc_dev.dv_xname, fmt, ap);
|
||||
printf("%s : %:", sc->sc_dev.dv_xname, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
/****************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ncr5380.c,v 1.25 1996/03/29 02:12:41 briggs Exp $ */
|
||||
/* $NetBSD: ncr5380.c,v 1.26 1996/03/30 21:06:23 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman.
|
||||
@ -1917,7 +1917,7 @@ ncr_tprint(SC_REQ *reqp, char *fmt, ...)
|
||||
|
||||
va_start(ap, fmt);
|
||||
sc_print_addr(reqp->xs->sc_link);
|
||||
printf("%r", fmt, ap);
|
||||
printf("%:", fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
@ -1930,7 +1930,7 @@ ncr_aprint(struct ncr_softc *sc, char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
printf("%s : %r", sc->sc_dev.dv_xname, fmt, ap);
|
||||
printf("%s : %:", sc->sc_dev.dv_xname, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
/****************************************************************************
|
||||
|
1947
sys/arch/pc532/dev/ncr5380.c
Normal file
1947
sys/arch/pc532/dev/ncr5380.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user