mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...
This commit is contained in:
parent
bab16df879
commit
f35fb62819
3
dev_d.c
3
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user