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