summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-13 12:23:14 +0200
committerTom Gundersen <teg@jklm.no>2014-05-13 12:44:22 +0200
commit1514d70819246df8d1cd1388216ef91d8276fd52 (patch)
tree728f6d681c88d9b0454faf108973fe2f2bb2b303
parent09681374393d74d9d6c92e44f9e6fa091ad61555 (diff)
udev: rename netif - properly break lines in kmsg
Before: 30,997,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6systemd-udevd[439]: renamed network interface wlan0 to wlp3s0 30,998,1175077801,c;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6 After: 30,834,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6 30,835,4732949,-;systemd-udevd[439]: renamed network interface wlan0 to wlp3s0 30,988,1175077801,-;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6
-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 5998be2f77..2cab42bbc6 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -771,7 +771,7 @@ static int rename_netif(struct udev_event *event)
log_error("error changing net interface name %s to %s: %s",
oldname, name, strerror(-r));
else
- print_kmsg("renamed network interface %s to %s", oldname, name);
+ print_kmsg("renamed network interface %s to %s\n", oldname, name);
return r;
}