Commit a639e10a authored by Sergey Lyubka's avatar Sergey Lyubka

squash QNX warning about execle() call

parent 48750e67
......@@ -1795,9 +1795,9 @@ static process_id_t start_process(const char *interp, const char *cmd,
signal(SIGCHLD, SIG_DFL);
if (interp == NULL) {
execle(cmd, cmd, NULL, envp);
execle(cmd, cmd, (char *) 0, envp); // Using (char *) 0 to avoid warning
} else {
execle(interp, interp, cmd, NULL, envp);
execle(interp, interp, cmd, (char *) 0, envp);
}
snprintf(buf, sizeof(buf), "Status: 500\r\n\r\n"
"500 Server Error: %s%s%s: %s", interp == NULL ? "" : interp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment