mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 17:10:55 +00:00
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
This commit is contained in:
Notes:
Lennart Poettering
2014-05-24 11:04:24 +08:00
Backport: bugfix
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user