chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a523e
)
[PATCH] Fix bug where we did not use the "converted" kernel name if we had no rule.
author
greg@kroah.com
<greg@kroah.com>
Tue, 17 Feb 2004 02:19:48 +0000
(18:19 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:32:27 +0000
(21:32 -0700)
This fixes the bug with names that have a ! in them and no rule to match.
namedev.c
patch
|
blob
|
history
diff --git
a/namedev.c
b/namedev.c
index 018fd452e99096edc05207f47fbbda2bbea7e8e2..f138fe976955fe99bb3c24318acb132369619c1b 100644
(file)
--- a/
namedev.c
+++ b/
namedev.c
@@
-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: