Skip to content

Commit 8c1867a

Browse files
Hongbo Lipcmoore
authored andcommitted
audit: Make use of str_enabled_disabled() helper
Use str_enabled_disabled() helper instead of open coding the same. Signed-off-by: Hongbo Li <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 61c6097 commit 8c1867a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/audit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ static int __init audit_init(void)
17061706
audit_cmd_mutex.owner = NULL;
17071707

17081708
pr_info("initializing netlink subsys (%s)\n",
1709-
audit_default ? "enabled" : "disabled");
1709+
str_enabled_disabled(audit_default));
17101710
register_pernet_subsys(&audit_net_ops);
17111711

17121712
audit_initialized = AUDIT_INITIALIZED;

0 commit comments

Comments
 (0)