Skip to content

Commit 50d56a1

Browse files
committed
apparmor: fix AA_DEBUG_LABEL()
AA_DEBUG_LABEL() was not specifying it vargs, which is needed so it can output debug parameters. Fixes: 71e6cff ("apparmor: Improve debug print infrastructure") Signed-off-by: John Johansen <[email protected]>
1 parent a30a9fd commit 50d56a1

File tree

1 file changed

+1
-1
lines changed
  • security/apparmor/include

1 file changed

+1
-1
lines changed

security/apparmor/include/lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extern struct aa_dfa *stacksplitdfa;
4242
if (aa_g_debug & opt) \
4343
pr_warn_ratelimited("%s: " fmt, __func__, ##args); \
4444
} while (0)
45-
#define AA_DEBUG_LABEL(LAB, X, fmt, args) \
45+
#define AA_DEBUG_LABEL(LAB, X, fmt, args...) \
4646
do { \
4747
if ((LAB)->flags & FLAG_DEBUG1) \
4848
AA_DEBUG(X, fmt, args); \

0 commit comments

Comments
 (0)