svn commit: r233531 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Tue Mar 27 04:15:39 UTC 2012


Author: adrian
Date: Tue Mar 27 04:15:38 2012
New Revision: 233531
URL: http://svn.freebsd.org/changeset/base/233531

Log:
  Correct the ordering of tid/crypto ic_name.
  
  Because the code lacks all the GNU extensions to printf() format stuff,
  the compiler doesn't helpfully tell us that I messed up in a previous
  commit.
  
  Pointy hat to: adrian, who likely only cares about this because he's the
    only one who bothers flipping on net80211 debugging.

Modified:
  head/sys/net80211/ieee80211_freebsd.c

Modified: head/sys/net80211/ieee80211_freebsd.c
==============================================================================
--- head/sys/net80211/ieee80211_freebsd.c	Tue Mar 27 01:26:00 2012	(r233530)
+++ head/sys/net80211/ieee80211_freebsd.c	Tue Mar 27 04:15:38 2012	(r233531)
@@ -572,7 +572,7 @@ ieee80211_notify_replay_failure(struct i
 
 	IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
 	    "%s replay detected tid %d <rsc %ju, csc %ju, keyix %u rxkeyix %u>",
-	    tid, k->wk_cipher->ic_name, (intmax_t) rsc,
+	    k->wk_cipher->ic_name, tid, (intmax_t) rsc,
 	    (intmax_t) k->wk_keyrsc[tid],
 	    k->wk_keyix, k->wk_rxkeyix);
 


More information about the svn-src-all mailing list