summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwn
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-04-30 00:11:08 +0000
committersam <sam@FreeBSD.org>2008-04-30 00:11:08 +0000
commitcfc4679b02e754fc87dbf0094a1de919739d9fbe (patch)
tree75c15de14c0e2efa7a3ae2f4850f844b162bc23b /sys/dev/iwn
parent89a95d6d44a4e655304384ecc0b8f4932cf07a06 (diff)
downloadFreeBSD-src-cfc4679b02e754fc87dbf0094a1de919739d9fbe.zip
FreeBSD-src-cfc4679b02e754fc87dbf0094a1de919739d9fbe.tar.gz
fix build
Submitted by: delphij
Diffstat (limited to 'sys/dev/iwn')
-rw-r--r--sys/dev/iwn/if_iwn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index 82d2f69..3cdad75 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -2887,14 +2887,14 @@ iwn_enable_tsf(struct iwn_softc *sc, struct ieee80211_node *ni)
/* XXX all wrong */
/* compute remaining time until next beacon */
val = (uint64_t)ni->ni_intval * 1024; /* msecs -> usecs */
- DPRINTF(sc, IWN_DEBUG_ANY, "%s: val = %llu %s\n", __func__,
+ DPRINTF(sc, IWN_DEBUG_ANY, "%s: val = %ju %s\n", __func__,
val, val == 0 ? "correcting" : "");
if (val == 0)
val = 1;
mod = le64toh(tsf.tstamp) % val;
tsf.binitval = htole32((uint32_t)(val - mod));
- DPRINTF(sc, IWN_DEBUG_RESET, "TSF bintval=%u tstamp=%llu, init=%u\n",
+ DPRINTF(sc, IWN_DEBUG_RESET, "TSF bintval=%u tstamp=%ju, init=%u\n",
ni->ni_intval, le64toh(tsf.tstamp), (uint32_t)(val - mod));
if (iwn_cmd(sc, IWN_CMD_TSF, &tsf, sizeof tsf, 1) != 0)
OpenPOWER on IntegriCloud