From e40fec176bcdd0b4e763cf85817a7e5c8e1c6c14 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 12 Nov 2003 07:23:39 -0800 Subject: [PATCH] [PATCH] change UDEV_SYSFS_PATH environment variable due to libsysfs change. --- test/label_test | 2 +- udev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/label_test b/test/label_test index f2208cbbd..f06c41613 100644 --- a/test/label_test +++ b/test/label_test @@ -1,7 +1,7 @@ #!/bin/bash export UDEV_TEST=yes -export UDEV_SYSFS_PATH=$PWD/sys/ +export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_DIR=$PWD/ export UDEV_ROOT=$PWD/udev/ export UDEV_DB=udev.tdb 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"); -- 2.30.2