summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-12 07:23:39 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:23 -0700
commite40fec176bcdd0b4e763cf85817a7e5c8e1c6c14 (patch)
treed6e74c72cbf86d141f7bda86f6b2e0ef3930e877 /udev.c
parentdc5cecf659aac8686bb7db1d047456fdef281ab1 (diff)
[PATCH] change UDEV_SYSFS_PATH environment variable due to libsysfs change.
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index 8746b9a810..56dab1f832 100644
--- a/udev.c
+++ b/udev.c
@@ -86,7 +86,7 @@ static void get_dirs(void)
temp = getenv("UDEV_TEST");
if (temp != NULL) {
/* hm testing is happening, use the specified values, if they are present */
- temp = getenv("UDEV_SYSFS_PATH");
+ temp = getenv("SYSFS_PATH");
if (temp)
strncpy(sysfs_path, temp, sizeof(sysfs_path));
temp = getenv("UDEV_CONFIG_DIR");