mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
audit: Make use of str_enabled_disabled() helper
Use str_enabled_disabled() helper instead of open coding the same. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
61c6097792
commit
8c1867a2f0
@ -1706,7 +1706,7 @@ static int __init audit_init(void)
|
||||
audit_cmd_mutex.owner = NULL;
|
||||
|
||||
pr_info("initializing netlink subsys (%s)\n",
|
||||
audit_default ? "enabled" : "disabled");
|
||||
str_enabled_disabled(audit_default));
|
||||
register_pernet_subsys(&audit_net_ops);
|
||||
|
||||
audit_initialized = AUDIT_INITIALIZED;
|
||||
|
Loading…
Reference in New Issue
Block a user