]> git.proxmox.com Git - systemd.git/commitdiff
libudev: always add UDEV_LOG
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 16:51:05 +0000 (18:51 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 16:51:05 +0000 (18:51 +0200)
udev/lib/libudev.c

index c698be6e466c3f7bf48d58a84018f9e0b28553ae..511054a01afafebf51d49fab5d8bbc68020923dd 100644 (file)
@@ -198,7 +198,7 @@ struct udev *udev_new(void)
                        }
 
                        if (strcasecmp(key, "udev_log") == 0) {
-                               udev->log_priority = util_log_priority(val);
+                               udev_set_log_priority(udev, util_log_priority(val));
                                continue;
                        }
                        if (strcasecmp(key, "udev_root") == 0) {