X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudev_rules.c;h=693bce261ce9f5f799585127e8be24ddbe3bd4b4;hp=ea850a84c339a90712ff89c792b8d987b3ba1322;hb=4ade7486a562821df5b337cb238c7c69267dd1fc;hpb=726687ad48bdececed1e7e44387c50e009e28208 diff --git a/udev/udev_rules.c b/udev/udev_rules.c index ea850a84c..693bce261 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; }