summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-12-29 21:30:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-12-29 21:30:59 +0000
commit74d0b22fda209229025041c008c66b56dc5dd245 (patch)
treeacdf5cf7d0222d22c15eca2a482e28688af0ce45 /sys/dev
parent67dc86731f9dce199881a2e635a6c323b87b9768 (diff)
a few more ra_dprintf vs pktlen fmt fixes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_ray.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c
index feb3f284821..8512fcb1b11 100644
--- a/sys/dev/pcmcia/if_ray.c
+++ b/sys/dev/pcmcia/if_ray.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ray.c,v 1.9 2000/10/17 04:24:26 mickey Exp $ */
+/* $OpenBSD: if_ray.c,v 1.10 2000/12/29 21:30:58 mickey Exp $ */
/* $NetBSD: if_ray.c,v 1.21 2000/07/05 02:35:54 onoe Exp $ */
/*
@@ -1286,8 +1286,8 @@ ray_intr_start(sc)
m_freem(m0);
continue;
}
- RAY_DPRINTF(("%s: mbuf.m_pkthdr.len %d\n", ifp->if_xname,
- (int)pktlen));
+ RAY_DPRINTF(("%s: mbuf.m_pkthdr.len %lu\n", ifp->if_xname,
+ (u_long)pktlen));
/* we need the ether_header now for pktlen adjustments */
M_PULLUP(m0, sizeof(struct ether_header));
@@ -1358,8 +1358,8 @@ ray_intr_start(sc)
previ = hinti = i;
i = RAY_CCS_LINK_NULL;
- RAY_DPRINTF(("%s: bufp 0x%lx new pktlen %d\n",
- ifp->if_xname, (long)bufp, (int)pktlen));
+ RAY_DPRINTF(("%s: bufp 0x%lx new pktlen %lu\n",
+ ifp->if_xname, (long)bufp, (u_long)pktlen));
/* copy out mbuf */
for (m = m0; m; m = m->m_next) {
@@ -1625,8 +1625,8 @@ done:
if (pktlen < sizeof(struct ieee80211_frame) + sizeof(struct llc))
{
- RAY_DPRINTF(("%s: pkt not big enough to contain llc (%d)\n",
- sc->sc_xname, pktlen));
+ RAY_DPRINTF(("%s: pkt not big enough to contain llc (%lu)\n",
+ sc->sc_xname, (u_long)pktlen));
m_freem(m);
return;
}