diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-07-18 21:00:24 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-07-19 11:12:48 -0400 |
commit | e5faa839c3eee199447573c4e227daeb76d402cf (patch) | |
tree | cc0523336275886c092e3a635bd517f7f79c2302 /security/selinux/hooks.c | |
parent | 08a12b39e289fedf755afbc81de44a5cd1286b4b (diff) | |
download | lwn-e5faa839c3eee199447573c4e227daeb76d402cf.tar.gz lwn-e5faa839c3eee199447573c4e227daeb76d402cf.zip |
selinux: add missing newlines in pr_err() statements
The kernel print statements do not append an implicit newline to format
strings.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 9aa60ce23209..dc51f28815b0 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2930,7 +2930,7 @@ static int selinux_inode_init_security_anon(struct inode *inode, struct inode_security_struct *context_isec = selinux_inode(context_inode); if (context_isec->initialized != LABEL_INITIALIZED) { - pr_err("SELinux: context_inode is not initialized"); + pr_err("SELinux: context_inode is not initialized\n"); return -EACCES; } |