Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 Fix printf to handle various datatypes for MHLEN.
details: https://anonhg.NetBSD.org/src/rev/3572aa4eb5ff
branches: trunk
changeset: 969736:3572aa4eb5ff
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sat Feb 29 16:56:58 2020 +0000
description:
Fix printf to handle various datatypes for MHLEN.
diffstat:
sys/net80211/ieee80211_output.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a422ba098cc2 -r 3572aa4eb5ff sys/net80211/ieee80211_output.c
--- a/sys/net80211/ieee80211_output.c Sat Feb 29 16:36:25 2020 +0000
+++ b/sys/net80211/ieee80211_output.c Sat Feb 29 16:56:58 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_output.c,v 1.64 2018/12/22 13:11:37 maxv Exp $ */
+/* $NetBSD: ieee80211_output.c,v 1.65 2020/02/29 16:56:58 mlelstv Exp $ */
/*
* Copyright (c) 2001 Atsushi Onoe
@@ -37,7 +37,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_output.c,v 1.34 2005/08/10 16:22:29 sam Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.64 2018/12/22 13:11:37 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.65 2020/02/29 16:56:58 mlelstv Exp $");
#endif
#ifdef _KERNEL_OPT
@@ -436,7 +436,7 @@
}
IASSERT(needed_space <= MHLEN,
- ("not enough room, need %u got %zu\n", needed_space, MHLEN));
+ ("not enough room, need %u got %lu\n", needed_space, (u_long)MHLEN));
/*
* Setup new mbuf to have leading space to prepend the
Home |
Main Index |
Thread Index |
Old Index