summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-09-21 00:55:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-09-21 00:55:19 +0200
commit3a3d078cfd3a3adb1c9f66e0df95d704c3a92504 (patch)
tree480748cccc6a811f9341951f3a5d7582d3d0d944 /udev_rules.c
parentb2d1ae727e78ac3e22caa11798360d87775095ff (diff)
fix wrong variable used in logged string
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c2
1 files changed, 1 insertions, 1 deletions
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));
}