diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-09-21 00:55:19 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-09-21 00:55:19 +0200 |
commit | 3a3d078cfd3a3adb1c9f66e0df95d704c3a92504 (patch) | |
tree | 480748cccc6a811f9341951f3a5d7582d3d0d944 | |
parent | b2d1ae727e78ac3e22caa11798360d87775095ff (diff) |
fix wrong variable used in logged string
-rw-r--r-- | udev_rules.c | 2 |
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)); } |