$OpenBSD: patch-command_c,v 1.3 2010/11/08 21:25:44 edd Exp $ --- command.c.orig Sun Oct 24 11:11:25 2010 +++ command.c Sun Oct 24 11:11:43 2010 @@ -3379,7 +3379,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd) case MP_CMD_RUN: #ifndef __MINGW32__ if (!fork()) { - execl("/bin/sh", "sh", "-c", cmd->args[0].v.s, NULL); + execl("/bin/sh", "sh", "-c", cmd->args[0].v.s, (char *) NULL); exit(0); } #endif