Fix compilation warning on OpenBSD (Thanks bapt)

This commit is contained in:
Michael Stapelberg 2009-11-10 00:07:40 +01:00
parent 6655307951
commit 47ebb9e1dd

View File

@ -148,7 +148,7 @@ void start_application(const char *command) {
shell = "/bin/sh";
/* This is the child */
execl(shell, shell, "-c", command, NULL);
execl(shell, shell, "-c", command, (void*)NULL);
/* not reached */
}
exit(0);