mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 22:31:47 -04:00
apparmor: fix AA_DEBUG_LABEL()
AA_DEBUG_LABEL() was not specifying it vargs, which is needed so it can
output debug parameters.
Fixes: 71e6cff3e0 ("apparmor: Improve debug print infrastructure")
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -42,7 +42,7 @@ extern struct aa_dfa *stacksplitdfa;
|
||||
if (aa_g_debug & opt) \
|
||||
pr_warn_ratelimited("%s: " fmt, __func__, ##args); \
|
||||
} while (0)
|
||||
#define AA_DEBUG_LABEL(LAB, X, fmt, args) \
|
||||
#define AA_DEBUG_LABEL(LAB, X, fmt, args...) \
|
||||
do { \
|
||||
if ((LAB)->flags & FLAG_DEBUG1) \
|
||||
AA_DEBUG(X, fmt, args); \
|
||||
|
||||
Reference in New Issue
Block a user