From: phessler Date: Tue, 11 Sep 2018 19:25:54 +0000 (+0000) Subject: ues the format string for signed ints, for signed ints X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4c31e3a252764f9c2deb580614414d86a8c37e80;p=openbsd ues the format string for signed ints, for signed ints reminded by stsp@ --- 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);