diff options
author | peter enderborg <peter.enderborg@sony.com> | 2018-06-12 11:09:07 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-06-19 20:33:05 +0300 |
commit | d85a78334e7b67292834cd222962e010142905ca (patch) | |
tree | f53adaa5f677a75263fbbcd166fa7e0f7f9d85b5 /security | |
parent | f8b69a5f00ee0a8e71555fdbd77f79db9c0769f0 (diff) | |
download | linux-d85a78334e7b67292834cd222962e010142905ca.tar.xz |
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.c | 2 |
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; } |