[systemd-commits] src/udev

Kay Sievers kay at kemper.freedesktop.org
Mon Jul 30 08:21:27 PDT 2012


 src/udev/udev-event.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02aee108814e25ef01e25851d664197c8f57265f
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Jul 30 17:07:49 2012 +0200

    udev: add missing newline when writing to /dev/kmsg

diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 2ade0ab..2b9fdf6 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);



More information about the systemd-commits mailing list