$OpenBSD: patch-src_misc_c,v 1.8 2009/09/01 14:25:15 okan Exp $
--- src/misc.c.orig	Wed Feb 11 00:55:36 2009
+++ src/misc.c	Thu May 28 17:32:35 2009
@@ -273,7 +273,7 @@ else if (pid == 0)                     /* child */
    ALARM_PID = -1;
    if (useshell)
       {
-      if (execl("/bin/sh","sh","-c",comm,NULL) == -1)
+      if (execl("/bin/sh","sh","-c",comm,(void *)NULL) == -1)
          {
          yyerror("script failed");
          perror("execl");
