diff options
author | peter enderborg <peter.enderborg@sony.com> | 2018-06-12 10:09:07 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-06-19 19:33:05 +0200 |
commit | d85a78334e7b67292834cd222962e010142905ca (patch) | |
tree | f53adaa5f677a75263fbbcd166fa7e0f7f9d85b5 /security | |
parent | selinux: Cleanup printk logging in selinuxfs (diff) | |
download | linux-d85a78334e7b67292834cd222962e010142905ca.tar.xz linux-d85a78334e7b67292834cd222962e010142905ca.zip |
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; } |