summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-07-30 17:07:49 +0200
committerKay Sievers <kay@vrfy.org>2012-07-30 17:21:22 +0200
commit02aee108814e25ef01e25851d664197c8f57265f (patch)
tree4289a203cbbf90dbfea9afc4621f253425cfcc2c /src/udev/udev-event.c
parent7212a8a99ee863698f5feaa00abb4b99f3996a1a (diff)
udev: add missing newline when writing to /dev/kmsg
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 2ade0ab81a..2b9fdf6748 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -767,7 +767,7 @@ static int rename_netif(struct udev_event *event)
util_strscpy(ifr.ifr_newname, IFNAMSIZ, event->name);
err = ioctl(sk, SIOCSIFNAME, &ifr);
if (err >= 0) {
- print_kmsg("renamed network interface %s to %s", ifr.ifr_name, ifr.ifr_newname);
+ print_kmsg("renamed network interface %s to %s\n", ifr.ifr_name, ifr.ifr_newname);
} else {
err = -errno;
log_error("error changing net interface name %s to %s: %m\n", ifr.ifr_name, ifr.ifr_newname);