]> err.no Git - systemd/commitdiff
[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...
authorgreg@kroah.com <greg@kroah.com>
Fri, 8 Oct 2004 04:40:01 +0000 (21:40 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:04 +0000 (21:37 -0700)
dev_d.c

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