diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2012-11-07 19:39:09 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2012-11-07 19:39:09 +0000 |
commit | 24dbc2cb9241754b20d1fdc126fe7d020556b1e3 (patch) | |
tree | 025f60b4505bc582fc254199aa0461b51181dc21 | |
parent | b99784fe662faa712f3630b22e11e491a71180a5 (diff) |
Fix DPRINTF() format string treating n->ni_refcnt, which is unsigned, as signed.
diff from dhill; ok kettenis reyk
-rw-r--r-- | sys/net80211/ieee80211_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index ca6cd9f398e..8ec122efc89 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.c,v 1.76 2012/10/10 09:23:06 kettenis Exp $ */ +/* $OpenBSD: ieee80211_node.c,v 1.77 2012/11/07 19:39:08 stsp Exp $ */ /* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */ /*- @@ -1108,7 +1108,7 @@ ieee80211_release_node(struct ieee80211com *ic, struct ieee80211_node *ni) { int s; - DPRINTF(("%s refcnt %d\n", ether_sprintf(ni->ni_macaddr), + DPRINTF(("%s refcnt %u\n", ether_sprintf(ni->ni_macaddr), ni->ni_refcnt)); s = splnet(); if (ieee80211_node_decref(ni) == 0 && |