diff options
Diffstat (limited to 'src/runsvdir.c')
-rw-r--r-- | src/runsvdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runsvdir.c b/src/runsvdir.c index ecebd0a..28cb044 100644 --- a/src/runsvdir.c +++ b/src/runsvdir.c @@ -63,7 +63,7 @@ void runsv(int no, char *name) { } if (pid == 0) { /* child */ - const char *prog[3]; + char *prog[3]; prog[0] ="runsv"; prog[1] =name; @@ -71,7 +71,7 @@ void runsv(int no, char *name) { sig_uncatch(sig_hangup); sig_uncatch(sig_term); if (pgrp) setsid(); - pathexec_run(*prog, prog, (const char* const*)environ); + pathexec_run(*prog, prog, (char* const*)environ); fatal("unable to start runsv ", name); } sv[no].pid =pid; |