diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-01-09 22:24:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-01-09 22:24:26 +0000 |
commit | aeb3ad3d8cac8f1f085725711d2d8739b722b61b (patch) | |
tree | 2225c0b37c1a19161383c67bdb9043006e8b4fe0 /src/libs6 | |
parent | 724fc63f4736d620173e733a3b35c003a0d82ff8 (diff) | |
download | s6-aeb3ad3d8cac8f1f085725711d2d8739b722b61b.tar.xz |
Next batch of fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6')
-rw-r--r-- | src/libs6/s6_supervise_link_names.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs6/s6_supervise_link_names.c b/src/libs6/s6_supervise_link_names.c index de8e5c5..7712e7e 100644 --- a/src/libs6/s6_supervise_link_names.c +++ b/src/libs6/s6_supervise_link_names.c @@ -11,6 +11,7 @@ #include <skalibs/tai.h> #include <skalibs/stralloc.h> #include <skalibs/djbunix.h> +#include <skalibs/lolstdio.h> #include <s6/ftrigr.h> #include <s6/ftrigw.h> @@ -55,8 +56,10 @@ int s6_supervise_link_names (char const *scdir, char const *const *servicedirs, memset(locked, 0, bitarray_div8(n)) ; memset(logged, 0, bitarray_div8(n)) ; + LOLDEBUG("s6_supervise_link_names: scdir = %s n = %zu options = %u", scdir, n, options) ; for (size_t i = 0 ; i < n ; i++) { + LOLDEBUG("i = %zu dir = %s name = %s", i, servicedirs[i], names[i]) ; struct stat st ; size_t len = strlen(servicedirs[i]) ; size_t nlen = strlen(names[i]) ; |