$OpenBSD: patch-src_popen_c,v 1.4 2009/04/25 22:07:37 okan Exp $ --- src/popen.c.orig Mon Sep 8 11:43:41 2008 +++ src/popen.c Sat Apr 11 16:32:57 2009 @@ -452,7 +452,7 @@ if (pid == 0) } } - execl("/bin/sh","sh","-c",command,NULL); + execl("/bin/sh","sh","-c",command,(void *)NULL); _exit(1); } else @@ -596,7 +596,7 @@ if (pid == 0) _exit(1); } - execl("/bin/sh","sh","-c",command,NULL); + execl("/bin/sh","sh","-c",command,(void *)NULL); _exit(1); } else