summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wi.c
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2017-03-29 09:04:35 +0000
committermsaitoh <msaitoh@NetBSD.org>2017-03-29 09:04:35 +0000
commit2d8bf54a5c424ee4c44b5a3ad080f0641d2f4e80 (patch)
tree88cd9fa8420a544cd0ea75f77afe6cd70836b31b /sys/dev/ic/wi.c
parentbeb228734ad357a3ec150a5d1299e7f4d82daabb (diff)
Fix 0x%d and 0x%u.
Diffstat (limited to 'sys/dev/ic/wi.c')
-rw-r--r--sys/dev/ic/wi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/wi.c b/sys/dev/ic/wi.c
index 7beb87ed79a..8314f7fef73 100644
--- a/sys/dev/ic/wi.c
+++ b/sys/dev/ic/wi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wi.c,v 1.242 2017/02/02 10:05:35 nonaka Exp $ */
+/* $NetBSD: wi.c,v 1.243 2017/03/29 09:04:35 msaitoh Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.242 2017/02/02 10:05:35 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.243 2017/03/29 09:04:35 msaitoh Exp $");
#define WI_HERMES_AUTOINC_WAR /* Work around data write autoinc bug. */
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
@@ -3393,7 +3393,7 @@ wi_dump_pkt(struct wi_frame *wh, struct ieee80211_node *ni, int rssi)
ni ? ni->ni_rates.rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL
: -1,
rssi);
- printf(" status 0x%x rx_tstamp1 %u rx_tstamp0 0x%u rx_silence %u\n",
+ printf(" status 0x%x rx_tstamp1 %#x rx_tstamp0 %#x rx_silence %u\n",
le16toh(wh->wi_status), le16toh(wh->wi_rx_tstamp1),
le16toh(wh->wi_rx_tstamp0), wh->wi_rx_silence);
printf(" rx_signal %u rx_rate %u rx_flow %u\n",