summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-23 18:56:16 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-23 18:56:16 -0500
commit6cb86c3a330caedc323599cb11fbed4138958271 (patch)
tree6b0f1e44d69ed1d043b23f5f64e9f7e8b9830c07 /src/udev/udev-event.c
parente5cc2b881fd1db175b0d80bcccf21ae70857a532 (diff)
Propagation of configured installation paths to Makefile.am and .c code
This commit is a continuation of the previous one in which all the configured paths obtained in configure.ac are propagated to the Makefile.am and .c files via AM_CPPFLAGS of the form -DUDEV_CONF_FILE=\"$(udevconffile)\". This should address the issue in https://github.com/gentoo/eudev/issues/17 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 30c3771fe6..46e7578d0d 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -688,7 +688,7 @@ int udev_event_spawn(struct udev_event *event,
/* allow programs in /usr/lib/udev/ to be called without the path */
if (argv[0][0] != '/') {
- util_strscpyl(program, sizeof(program), UDEVLIBEXECDIR "/", argv[0], NULL);
+ util_strscpyl(program, sizeof(program), UDEV_LIBEXEC_DIR "/", argv[0], NULL);
#ifdef HAVE_SPLIT_USR
if(access(program, X_OK))
util_strscpyl(program, sizeof(program), "/lib/udev/", argv[0], NULL);