1
1
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:
greg@kroah.com 2004-10-07 21:40:01 -07:00 committed by Greg KH
parent bab16df879
commit f35fb62819

View File

@ -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);