summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpeter enderborg <peter.enderborg@sony.com>2018-06-12 10:09:07 +0200
committerPaul Moore <paul@paul-moore.com>2018-06-19 13:33:05 -0400
commitd85a78334e7b67292834cd222962e010142905ca (patch)
treef53adaa5f677a75263fbbcd166fa7e0f7f9d85b5 /security
parentf8b69a5f00ee0a8e71555fdbd77f79db9c0769f0 (diff)
selinux: Cleanup printk logging in netlink
Replace printk with pr_* to avoid checkpatch warnings. Signed-off-by: Peter Enderborg <peter.enderborg@sony.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index 828fb6a4e941..8a8a72507437 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -94,7 +94,7 @@ out:
out_kfree_skb:
kfree_skb(skb);
oom:
- printk(KERN_ERR "SELinux: OOM in %s\n", __func__);
+ pr_err("SELinux: OOM in %s\n", __func__);
goto out;
}