summaryrefslogtreecommitdiff
path: root/src/supervision/s6-supervise.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-08-21 02:37:46 +0000
committerLaurent Bercot <ska@appnovation.com>2022-08-21 02:37:46 +0000
commit355d6a83810e1b7bb3bc2ccd3102141dbea63821 (patch)
tree440b74bcb53aa14c8b9636f00154738040a49c73 /src/supervision/s6-supervise.c
parent6920ddc814d709bc60c162c1fef794b108940e95 (diff)
downloads6-355d6a83810e1b7bb3bc2ccd3102141dbea63821.tar.xz
Add upper limit to -c in s6-svscan
Also document it, and document changes to s6-supervise Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/supervision/s6-supervise.c')
-rw-r--r--src/supervision/s6-supervise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c
index 881d29a..c377e32 100644
--- a/src/supervision/s6-supervise.c
+++ b/src/supervision/s6-supervise.c
@@ -456,7 +456,7 @@ static int uplastup_z (void)
{
char fmt0[UINT_FMT] ;
char fmt1[UINT_FMT] ;
- char *cargv[5] = { "finish", fmt0, fmt1, servicename, 0 } ;
+ char *cargv[5] = { "finish", fmt0, fmt1, (char *)servicename, 0 } ;
selfpipe_finish() ;
fmt0[uint_fmt(fmt0, WIFSIGNALED(status.wstat) ? 256 : WEXITSTATUS(status.wstat))] = 0 ;
fmt1[uint_fmt(fmt1, WTERMSIG(status.wstat))] = 0 ;