diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-01-02 08:05:37 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-01-02 08:05:37 +0000 |
commit | a27d3a141a4fc2ff006f10ff771f1c915f829e1d (patch) | |
tree | ab91707e0ce28c1b222e570286e1567b30a26f0e /sys/net80211 | |
parent | 8d51848d36862681f815cc109c826ef6de4da5c6 (diff) |
use the correct format string directive %llu instead of "%ull".
pointed out by Thorsten Glaser.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 709255a3cb9..43e057eb0e2 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,5 +1,5 @@ /* $NetBSD: ieee80211_input.c,v 1.24 2004/05/31 11:12:24 dyoung Exp $ */ -/* $OpenBSD: ieee80211_input.c,v 1.12 2005/11/03 20:00:18 reyk Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.13 2006/01/02 08:05:36 reyk Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -1595,7 +1595,7 @@ ieee80211_ibss_merge(struct ieee80211com *ic, struct ieee80211_node *ni, IEEE80211_ADDR_LEN) == 0) { if (!ieee80211_do_slow_print(ic, &did_print)) return 0; - printf("%s: tsft offset %s%ull\n", ic->ic_if.if_xname, + printf("%s: tsft offset %s%llu\n", ic->ic_if.if_xname, (sign < 0) ? "-" : "", (sign < 0) ? (local_tsft - beacon_tsft) @@ -1612,7 +1612,7 @@ ieee80211_ibss_merge(struct ieee80211com *ic, struct ieee80211_node *ni, if (ieee80211_do_slow_print(ic, &did_print)) { printf("%s: ieee80211_ibss_merge: bssid mismatch %s\n", ic->ic_if.if_xname, ether_sprintf(ni->ni_bssid)); - printf("%s: my tsft %ull beacon tsft %ull\n", + printf("%s: my tsft %llu beacon tsft %llu\n", ic->ic_if.if_xname, local_tsft, beacon_tsft); printf("%s: sync TSF with %s\n", ic->ic_if.if_xname, ether_sprintf(ni->ni_macaddr)); |