From: greg@kroah.com Date: Fri, 8 Oct 2004 04:40:01 +0000 (-0700) Subject: [PATCH] hm, somethings odd with DEVPATH, see if this fixes it... X-Git-Tag: 034~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35fb62819d017880d6008b65179a3528eaba623;p=systemd [PATCH] hm, somethings odd with DEVPATH, see if this fixes it... --- diff --git a/dev_d.c b/dev_d.c index eaf9b1dc..050df7bb 100644 --- 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);