diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-17 03:19:48 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-27 06:32:27 +0200 |
commit | 7a4877bf6fea5f1d1d8390b7efd6b8a53003631a (patch) | |
tree | da83fa14c383b940058101c6650ad26cbdd42b97 | |
parent | [PATCH] v017 release (diff) | |
download | systemd-7a4877bf6fea5f1d1d8390b7efd6b8a53003631a.tar.xz systemd-7a4877bf6fea5f1d1d8390b7efd6b8a53003631a.zip |
[PATCH] Fix bug where we did not use the "converted" kernel name if we had no rule.
This fixes the bug with names that have a ! in them and no rule to match.
-rw-r--r-- | namedev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -745,7 +745,7 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud } /* no rule was found so we use the kernel name */ - strfieldcpy(udev->name, class_dev->name); + strfieldcpy(udev->name, udev->kernel_name); goto done; found: |