summaryrefslogtreecommitdiff
path: root/udev_selinux.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-23 16:21:47 +0200
commit92b229c727e34164a88f59142054d4cdee510f4c (patch)
tree6216926d81f322b4bbb58fe3761295d188bbac6f /udev_selinux.c
parent3df3c93e2500b0dcf23989171d27c2b04d149407 (diff)
no newline in log messages
Diffstat (limited to 'udev_selinux.c')
-rw-r--r--udev_selinux.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/udev_selinux.c b/udev_selinux.c
index 77c0e7dc4a..1ad6e8ad12 100644
--- a/udev_selinux.c
+++ b/udev_selinux.c
@@ -75,7 +75,7 @@ static char *get_media(const char *devname, int mode)
}
media = strdup(mediabuf);
- info("selinux_get_media(%s)='%s'\n", devname, media);
+ info("selinux_get_media(%s)='%s'", devname, media);
close_out:
fclose(fp);
@@ -100,7 +100,7 @@ void selinux_setfilecon(const char *file, const char *devname, unsigned int mode
if (ret < 0)
if (matchpathcon(file, mode, &scontext) < 0) {
- err("matchpathcon(%s) failed\n", file);
+ err("matchpathcon(%s) failed", file);
return;
}
@@ -128,7 +128,7 @@ void selinux_setfscreatecon(const char *file, const char *devname, unsigned int
if (ret < 0)
if (matchpathcon(file, mode, &scontext) < 0) {
- err("matchpathcon(%s) failed\n", file);
+ err("matchpathcon(%s) failed", file);
return;
}
@@ -155,10 +155,10 @@ void selinux_init(void)
*/
if (is_selinux_running()) {
if (!udev_root[0])
- err("selinux_init: udev_root not set\n");
+ err("selinux_init: udev_root not set");
matchpathcon_init_prefix(NULL, udev_root);
if (getfscreatecon(&prev_scontext) < 0) {
- err("getfscreatecon failed\n");
+ err("getfscreatecon failed");
prev_scontext = NULL;
}
}