]> err.no Git - systemd/commitdiff
fix wrong variable used in logged string
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 20 Sep 2007 22:55:19 +0000 (00:55 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 20 Sep 2007 22:55:19 +0000 (00:55 +0200)
udev_rules.c

index 3ec8477461e43fe61be68d2e4f2d24dedd9dc0bf..5ae4aa2b7817c0f6a1f48e0480eb879a1e6676c7 100644 (file)
@@ -1446,7 +1446,7 @@ int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev)
        }
 
        if (!name_set) {
-               info("no node name set, will use kernel name '%s'", udev->name);
+               info("no node name set, will use kernel name '%s'", udev->dev->kernel);
                strlcpy(udev->name, udev->dev->kernel, sizeof(udev->name));
        }