summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2018-09-11 19:25:55 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2018-09-11 19:25:55 +0000
commitc80f18914b94abf327176c272b5bb810b8bc82fe (patch)
treeeaed2e08110004539010e5bc982d60805edbe9c9 /sys
parent6b05608ca4cd0161d7e1a98f4a5ffdfe43132b77 (diff)
ues the format string for signed ints, for signed ints
reminded by stsp@
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_node.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index 04147cc1a04..bb0eceda9b8 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.c,v 1.149 2018/09/11 10:21:29 phessler Exp $ */
+/* $OpenBSD: ieee80211_node.c,v 1.150 2018/09/11 19:25:54 phessler Exp $ */
/* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */
/*-
@@ -493,7 +493,7 @@ ieee80211_ess_is_better(struct ieee80211com *ic,
printf("%s: AP %s ", ifp->if_xname,
ether_sprintf(nican->ni_bssid));
ieee80211_print_essid(nican->ni_essid, nican->ni_esslen);
- printf(" score %u\n", score_can);
+ printf(" score %d\n", score_can);
}
return score_can > score_cur;
@@ -581,7 +581,7 @@ ieee80211_switch_ess(struct ieee80211com *ic)
ether_sprintf(selni->ni_bssid));
ieee80211_print_essid(selni->ni_essid,
selni->ni_esslen);
- printf(" score %u\n",
+ printf(" score %d\n",
ieee80211_ess_calculate_score(ic, selni));
printf("%s: switching to network ", ifp->if_xname);
ieee80211_print_essid(seless->essid, seless->esslen);