From a27d3a141a4fc2ff006f10ff771f1c915f829e1d Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Mon, 2 Jan 2006 08:05:37 +0000 Subject: use the correct format string directive %llu instead of "%ull". pointed out by Thorsten Glaser. --- sys/net80211/ieee80211_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/net80211/ieee80211_input.c') 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)); -- cgit v1.2.3