mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
linuxkpi: Improve LKPI_80211_TRACE_MO message
The message used to have a prefix of the function and line, followed by
`:_` and the supplied message. Commit 3206587a20 ("LinuxKPI: 802.11:
improve scan handling") changed the prefix to add the CPU, tid, and
ticks. `_` and the caller-supplied message were joined to the ticks
value, resulting in a somewhat odd message. Instead use `: ` to
separate them.
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50667
This commit is contained in:
parent
9cac735186
commit
e578e6507c
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#ifdef LINUXKPI_DEBUG_80211
|
||||
#define LKPI_80211_TRACE_MO(fmt, ...) \
|
||||
if (linuxkpi_debug_80211 & D80211_TRACE_MO) \
|
||||
printf("LKPI_80211_TRACE_MO %s:%d: %d %d %lu_" fmt "\n", \
|
||||
printf("LKPI_80211_TRACE_MO %s:%d: %d %d %lu: " fmt "\n", \
|
||||
__func__, __LINE__, curcpu, curthread->td_tid, \
|
||||
jiffies, __VA_ARGS__)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue