$OpenBSD: patch-xfiler_Fw_c,v 1.2 2007/08/30 07:48:26 jasper Exp $ --- xfiler/Fw.c.orig Thu Jan 16 00:57:08 2003 +++ xfiler/Fw.c Wed Aug 29 16:11:54 2007 @@ -858,9 +858,9 @@ static int devAction(int d, char *action) fprintf(stderr, "%s\n", action); freopen("/dev/null", "r", stdin); if (user.arg0flag) - execlp(user.shell, user.shell, "-c", action, user.shell, NULL); + execlp(user.shell, user.shell, "-c", action, user.shell, (void *)NULL); else - execlp(user.shell, user.shell, "-c", action, NULL); + execlp(user.shell, user.shell, "-c", action, (void *)NULL); perror("Exec failed"); exit(1); } else if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||