summaryrefslogtreecommitdiff
path: root/src/mod_ssi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_ssi.c')
-rw-r--r--src/mod_ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_ssi.c b/src/mod_ssi.c
index e66a6fc..6621f9d 100644
--- a/src/mod_ssi.c
+++ b/src/mod_ssi.c
@@ -702,7 +702,7 @@ static int process_ssi_stmt(server *srv, connection *con, plugin_data *p,
/* close stdin */
close(STDIN_FILENO);
- execl("/bin/sh", "sh", "-c", cmd, NULL);
+ execl("/bin/sh", "sh", "-c", cmd, (char *)NULL);
log_error_write(srv, __FILE__, __LINE__, "sss", "spawing exec failed:", strerror(errno), cmd);