summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-11-28 14:26:31 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-11-28 14:26:31 +0100
commitff49bc3212cb07d850dcfd59940539773a0be26f (patch)
tree4d4209e4d84d6ca4533a103765d58cc9e429ea3d /src/libudev/libudev.c
parentc95f97a20f3b854109dc564da64950067b388aeb (diff)
treewide: drop unnecessary trailing \n in log_*() calls
Diffstat (limited to 'src/libudev/libudev.c')
-rw-r--r--src/libudev/libudev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
index c237db5e96..8785f22071 100644
--- a/src/libudev/libudev.c
+++ b/src/libudev/libudev.c
@@ -124,7 +124,7 @@ _public_ struct udev *udev_new(void) {
/* split key/value */
val = strchr(key, '=');
if (val == NULL) {
- log_debug("/etc/udev/udev.conf:%u: missing assignment, skipping line.\n", line_nr);
+ log_debug("/etc/udev/udev.conf:%u: missing assignment, skipping line.", line_nr);
continue;
}
val[0] = '\0';
@@ -156,7 +156,7 @@ _public_ struct udev *udev_new(void) {
/* unquote */
if (val[0] == '"' || val[0] == '\'') {
if (val[len-1] != val[0]) {
- log_debug("/etc/udev/udev.conf:%u: inconsistent quoting, skipping line.\n", line_nr);
+ log_debug("/etc/udev/udev.conf:%u: inconsistent quoting, skipping line.", line_nr);
continue;
}
val[len-1] = '\0';
@@ -168,7 +168,7 @@ _public_ struct udev *udev_new(void) {
prio = util_log_priority(val);
if (prio < 0)
- log_debug("/etc/udev/udev.conf:%u: invalid log level '%s', ignoring.\n", line_nr, val);
+ log_debug("/etc/udev/udev.conf:%u: invalid log level '%s', ignoring.", line_nr, val);
else
log_set_max_level(prio);
continue;