chiark / gitweb /
libudev: split source files
[elogind.git] / udev / udev_rules.c
index ea850a84c339a90712ff89c792b8d987b3ba1322..693bce261ce9f5f799585127e8be24ddbe3bd4b4 100644 (file)
@@ -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;
        }