X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev.c;h=56dab1f8323227b7fa7028914d1555a251f18710;hb=8c51bbfe5f159d79b365a50a20218f616d6b67b5;hp=8746b9a8102820de64b0d72ec3bd882b8ed83ee0;hpb=d41120879358f783eb1a457f340c1a4b538a9410;p=elogind.git diff --git a/udev.c b/udev.c index 8746b9a81..56dab1f83 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");