Commit 8c1867a2 authored by Hongbo Li's avatar Hongbo Li Committed by Paul Moore

audit: Make use of str_enabled_disabled() helper

Use str_enabled_disabled() helper instead of open
coding the same.
Signed-off-by: default avatarHongbo Li <lihongbo22@huawei.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 61c60977
...@@ -1706,7 +1706,7 @@ static int __init audit_init(void) ...@@ -1706,7 +1706,7 @@ static int __init audit_init(void)
audit_cmd_mutex.owner = NULL; audit_cmd_mutex.owner = NULL;
pr_info("initializing netlink subsys (%s)\n", pr_info("initializing netlink subsys (%s)\n",
audit_default ? "enabled" : "disabled"); str_enabled_disabled(audit_default));
register_pernet_subsys(&audit_net_ops); register_pernet_subsys(&audit_net_ops);
audit_initialized = AUDIT_INITIALIZED; audit_initialized = AUDIT_INITIALIZED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment