chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup ./configure installation directory options
[elogind.git]
/
libudev
/
libudev-util-private.c
diff --git
a/libudev/libudev-util-private.c
b/libudev/libudev-util-private.c
index f22c04184bce280557537fcff8af673a7337023d..811db9cf39447cf591120fa33aa0094acd27998e 100644
(file)
--- a/
libudev/libudev-util-private.c
+++ b/
libudev/libudev-util-private.c
@@
-290,7
+290,7
@@
int util_run_program(struct udev *udev, const char *command, char **envp,
/* allow programs in /lib/udev/ to be called without the path */
if (argv[0][0] != '/') {
/* allow programs in /lib/udev/ to be called without the path */
if (argv[0][0] != '/') {
- util_strscpyl(program, sizeof(program),
UDEV_PREFIX "/lib/udev
/", argv[0], NULL);
+ util_strscpyl(program, sizeof(program),
LIBEXECDIR "
/", argv[0], NULL);
argv[0] = program;
}
argv[0] = program;
}