summaryrefslogtreecommitdiffstats
path: root/daemon/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/command.c')
-rw-r--r--daemon/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/command.c b/daemon/command.c
index f7a6dcf6..9e23e572 100644
--- a/daemon/command.c
+++ b/daemon/command.c
@@ -132,7 +132,7 @@ do_command_lines (char **argv)
}
char *
-do_sh (char *command)
+do_sh (const char *command)
{
char *argv[] = { "/bin/sh", "-c", command, NULL };
@@ -140,7 +140,7 @@ do_sh (char *command)
}
char **
-do_sh_lines (char *command)
+do_sh_lines (const char *command)
{
char *argv[] = { "/bin/sh", "-c", command, NULL };