summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-01-02 08:05:36 +0000
committerreyk <reyk@openbsd.org>2006-01-02 08:05:36 +0000
commit2891f6c6e8b82bf91703ff5bc303986f24d935f9 (patch)
tree2c9103179a2e93f26c1ec805c198115349334a02
parentclarify tun(4) opening - set the mode and bring the interface up. also (diff)
downloadwireguard-openbsd-2891f6c6e8b82bf91703ff5bc303986f24d935f9.tar.xz
wireguard-openbsd-2891f6c6e8b82bf91703ff5bc303986f24d935f9.zip
use the correct format string directive %llu instead of "%ull".
pointed out by Thorsten Glaser.
-rw-r--r--sys/net80211/ieee80211_input.c6
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));