From 3a3d078cfd3a3adb1c9f66e0df95d704c3a92504 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 21 Sep 2007 00:55:19 +0200 Subject: fix wrong variable used in logged string --- udev_rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev_rules.c') diff --git a/udev_rules.c b/udev_rules.c index 3ec8477461..5ae4aa2b78 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -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)); } -- cgit v1.2.3-54-g00ecf