diff options
author | bde <bde@FreeBSD.org> | 1998-08-24 02:28:16 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-24 02:28:16 +0000 |
commit | f45ec220062c45b6f53f7eddeb3892a2df54ca63 (patch) | |
tree | add7f3aff956758872236d008a575411ee01f80a /sys/dev/ar | |
parent | d39f49e72d9eed2771f3bb23e90fdaa965286143 (diff) | |
download | FreeBSD-src-f45ec220062c45b6f53f7eddeb3892a2df54ca63.zip FreeBSD-src-f45ec220062c45b6f53f7eddeb3892a2df54ca63.tar.gz |
Fixed printf format errors. Only one left in LINT on i386's.
Diffstat (limited to 'sys/dev/ar')
-rw-r--r-- | sys/dev/ar/if_ar.c | 10 | ||||
-rw-r--r-- | sys/dev/ar/if_ar_isa.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index 964684e..adebd22 100644 --- a/sys/dev/ar/if_ar.c +++ b/sys/dev/ar/if_ar.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ar.c,v 1.20 1998/06/17 13:54:56 bde Exp $ + * $Id: if_ar.c,v 1.21 1998/06/21 14:53:10 bde Exp $ */ /* @@ -1240,12 +1240,12 @@ ar_eat_packet(struct ar_softc *sc, int single) while(rxdesc != cda) { loopcnt++; if(loopcnt > sc->rxmax) { - printf("ar%d: eat pkt %d loop, cda %x, " - "rxdesc %x, stat %x.\n", + printf("ar%d: eat pkt %d loop, cda %p, " + "rxdesc %p, stat %x.\n", sc->unit, loopcnt, - cda, - rxdesc, + (void *)cda, + (void *)rxdesc, rxdesc->stat); break; } diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c index 964684e..adebd22 100644 --- a/sys/dev/ar/if_ar_isa.c +++ b/sys/dev/ar/if_ar_isa.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ar.c,v 1.20 1998/06/17 13:54:56 bde Exp $ + * $Id: if_ar.c,v 1.21 1998/06/21 14:53:10 bde Exp $ */ /* @@ -1240,12 +1240,12 @@ ar_eat_packet(struct ar_softc *sc, int single) while(rxdesc != cda) { loopcnt++; if(loopcnt > sc->rxmax) { - printf("ar%d: eat pkt %d loop, cda %x, " - "rxdesc %x, stat %x.\n", + printf("ar%d: eat pkt %d loop, cda %p, " + "rxdesc %p, stat %x.\n", sc->unit, loopcnt, - cda, - rxdesc, + (void *)cda, + (void *)rxdesc, rxdesc->stat); break; } |