Fix the type of the last arg to execl()

Obtained from: OpenBSD
This commit is contained in:
brian 2001-07-09 08:17:47 +00:00
parent ea8d486d2b
commit ef44874abb

View File

@ -558,7 +558,7 @@ ShellCommand(struct cmdargs const *arg, int bg)
if (arg->prompt)
printf("ppp: Pausing until %s finishes\n", shell);
prompt_TtyOldMode(arg->prompt);
execl(shell, shell, NULL);
execl(shell, shell, (char *)NULL);
}
log_Printf(LogWARN, "exec() of %s failed: %s\n",