chiark / gitweb /
udev: netif_rename - don't log to kmsg
authorTom Gundersen <teg@jklm.no>
Tue, 9 Sep 2014 20:45:03 +0000 (22:45 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 9 Sep 2014 20:45:03 +0000 (22:45 +0200)
As of 3.17, the kernel will do this on its own, so just do regular log_debug() logging from udev.

src/udev/udev-event.c

index 1bbf41e..a883edc 100644 (file)
@@ -762,7 +762,7 @@ static int rename_netif(struct udev_event *event) {
                 return r;
         }
 
-        print_kmsg("renamed network interface '%s' to '%s'\n", oldname, name);
+        log_debug("renamed network interface '%s' to '%s'\n", oldname, name);
 
         return 0;
 }