summaryrefslogtreecommitdiff
path: root/udev/udev_rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_rules.c')
-rw-r--r--udev/udev_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev_rules.c b/udev/udev_rules.c
index ea850a84c3..693bce261c 100644
--- a/udev/udev_rules.c
+++ b/udev/udev_rules.c
@@ -174,7 +174,7 @@ static int run_program(const char *command, const char *subsystem,
/* allow programs in /lib/udev called without the path */
if (strchr(argv[0], '/') == NULL) {
- strlcpy(program, "/lib/udev/", sizeof(program));
+ strlcpy(program, UDEV_PREFIX "/lib/udev/", sizeof(program));
strlcat(program, argv[0], sizeof(program));
argv[0] = program;
}