diff options
-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)); } |