aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/en
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-08-06 11:30:53 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-08-06 11:30:53 +0000
commitefa3048b1efca073eefed4c824b453e7c54857c1 (patch)
tree83a4066e31ee02662d209bcca909202891b77434 /sys/dev/en
parent5ab778118b32eecd69e897614e153aafcc3a5b63 (diff)
downloadsrc-efa3048b1efca073eefed4c824b453e7c54857c1.tar.gz
src-efa3048b1efca073eefed4c824b453e7c54857c1.zip
Print an array index that is computed as ptrdiff_t with %tu.
Notes
Notes: svn path=/head/; revision=118532
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index d63a248382cb..9d5c2b633d13 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;