about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS2
-rw-r--r--src/daemontools-extras/s6-setlock.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index c780893..c5c1c1f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -20,3 +20,5 @@ Thanks to:
   Patrick Mahoney <pat@polycrystal.org>
   Roy Lanek <roy.lanek@gmail.com>
   Gorka Lertxundi <glertxundi@gmail.com>
+  Buck Evan <buck@yelp.com>
+  John O'Meara <john.fr.omeara@gmail.com>
diff --git a/src/daemontools-extras/s6-setlock.c b/src/daemontools-extras/s6-setlock.c
index 2fb6f12..f2ce79e 100644
--- a/src/daemontools-extras/s6-setlock.c
+++ b/src/daemontools-extras/s6-setlock.c
@@ -61,8 +61,8 @@ int main (int argc, char const *const *argv, char const *const *envp)
     if (!tain_now_g()) strerr_diefu1sys(111, "tain_now") ;
     tain_from_millisecs(&deadline, timeout) ;
     tain_add_g(&deadline, &deadline) ;
-    pid = child_spawn(S6_BINPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ;
-    if (!pid) strerr_diefu2sys(111, "spawn ", S6_BINPREFIX "s6lockd-helper") ;
+    pid = child_spawn(S6_LIBEXECPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ;
+    if (!pid) strerr_diefu2sys(111, "spawn ", S6_LIBEXECPREFIX "s6lockd-helper") ;
     x.fd = p[0] ;
     for (;;)
     {