summaryrefslogtreecommitdiff
path: root/libudev/libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libudev/libudev.c')
-rw-r--r--libudev/libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c
index f6fdcb2dfd..695443cf3b 100644
--- a/libudev/libudev.c
+++ b/libudev/libudev.c
@@ -123,7 +123,7 @@ struct udev *udev_new(void)
udev->log_priority = LOG_ERR;
udev_list_init(&udev->properties_list);
udev->run = 1;
- udev->dev_path = strdup(UDEV_PREFIX "/dev");
+ udev->dev_path = strdup("/dev");
udev->sys_path = strdup("/sys");
config_file = strdup(SYSCONFDIR "/udev/udev.conf");
if (udev->dev_path == NULL ||