mirror of
https://github.com/torvalds/linux.git
synced 2025-12-01 07:26:02 +07: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user