chiark / gitweb /
[PATCH] only build klibc_fixups.c if we are actually using klibc.
[elogind.git] / udev.c
diff --git a/udev.c b/udev.c
index ed42862c00881d195e10012b8ca2dd964501dcfa..56dab1f8323227b7fa7028914d1555a251f18710 100644 (file)
--- a/udev.c
+++ b/udev.c
@@ -74,8 +74,8 @@ static void get_dirs(void)
 {
        char *temp;
        char *udev_db = UDEV_DB;
 {
        char *temp;
        char *udev_db = UDEV_DB;
-       char *udev_config = NAMEDEV_CONFIG_FILE;
-       char *udev_permission = NAMEDEV_CONFIG_PERMISSION_FILE;
+       char *udev_config = UDEV_CONFIG_FILE;
+       char *udev_permission = UDEV_CONFIG_PERMISSION_FILE;
        int retval;
 
        retval = sysfs_get_mnt_path(sysfs_path, SYSFS_PATH_MAX);
        int retval;
 
        retval = sysfs_get_mnt_path(sysfs_path, SYSFS_PATH_MAX);
@@ -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_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");
                if (temp)
                        strncpy(sysfs_path, temp, sizeof(sysfs_path));
                temp = getenv("UDEV_CONFIG_DIR");