summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
commit6133f3432fe86bc140cc9ba74794826f75c915fa (patch)
tree1199e3d6f005b66ea7b0d8b34d5ef323d7ee3cc0 /udev/udev-rules.c
parent29cf5b58be1a783157edc37d7151d86acbdd5732 (diff)
cleanup ./configure installation directory options
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r--udev/udev-rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 7db890fed9..174edfd9c4 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -1338,7 +1338,7 @@ static int add_rule(struct udev_rules *rules, char *line,
/* allow programs in /lib/udev called without the path */
if (value[0] != '/')
- util_strscpyl(file, sizeof(file), UDEV_PREFIX "/lib/udev/", value, NULL);
+ util_strscpyl(file, sizeof(file), LIBEXECDIR "/", value, NULL);
else
util_strscpy(file, sizeof(file), value);
pos = strchr(file, ' ');
@@ -1734,7 +1734,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names)
add_matching_files(udev, &sort_list, filename, ".rules");
/* read default rules */
- add_matching_files(udev, &sort_list, UDEV_PREFIX "/lib/udev/rules.d", ".rules");
+ add_matching_files(udev, &sort_list, LIBEXECDIR "/rules.d", ".rules");
/* sort all rules files by basename into list of files */
udev_list_entry_foreach_safe(sort_loop, sort_tmp, udev_list_get_entry(&sort_list)) {