diff options
author | harti <harti@FreeBSD.org> | 2003-08-06 11:30:53 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-08-06 11:30:53 +0000 |
commit | 77284b6242e0fa9a7433d4b28c2f8f1d3c2ec854 (patch) | |
tree | 83a4066e31ee02662d209bcca909202891b77434 /sys/dev/en | |
parent | 7ba06f3d1561187ed79e43ce591c377ea13e0cda (diff) | |
download | FreeBSD-src-77284b6242e0fa9a7433d4b28c2f8f1d3c2ec854.zip FreeBSD-src-77284b6242e0fa9a7433d4b28c2f8f1d3c2ec854.tar.gz |
Print an array index that is computed as ptrdiff_t with %tu.
Diffstat (limited to 'sys/dev/en')
-rw-r--r-- | sys/dev/en/midway.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c index d63a248..9d5c2b6 100644 --- a/sys/dev/en/midway.c +++ b/sys/dev/en/midway.c @@ -1220,8 +1220,8 @@ en_open_vcc(struct en_softc *sc, struct atmio_openvcc *op) slot->vcc = vc; KASSERT (_IF_QLEN(&slot->indma) == 0 && _IF_QLEN(&slot->q) == 0, - ("en_rxctl: left over mbufs on enable slot=%ld", - (long)(vc->rxslot - sc->rxslot))); + ("en_rxctl: left over mbufs on enable slot=%tu", + vc->rxslot - sc->rxslot)); vc->txspeed = 0; vc->txslot = sc->txslot; |