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:
bab16df
)
[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...
author
greg@kroah.com
<greg@kroah.com>
Fri, 8 Oct 2004 04:40:01 +0000
(21:40 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:37:04 +0000
(21:37 -0700)
dev_d.c
patch
|
blob
|
history
diff --git
a/dev_d.c
b/dev_d.c
index eaf9b1dc12c7ecef5364a373041f380f5d964d89..050df7bbec000440da61582156787425ed155f55 100644
(file)
--- a/
dev_d.c
+++ b/
dev_d.c
@@
-96,8
+96,9
@@
void dev_d_send(struct udevice *dev, const char *subsystem, const char *devpath)
strfieldcat(env_devname, dev->name);
} else if (dev->type == 'n') {
strfieldcpy(env_devname, dev->name);
- setenv("DEVPATH", devpath, 1);
}
+
+ setenv("DEVPATH", devpath, 1);
setenv("DEVNAME", env_devname, 1);
dbg("DEVNAME='%s'", env_devname);