$OpenBSD: patch-src_PtyShell_cc,v 1.4 2004/05/24 07:04:46 kevlo Exp $
--- src/PtyShell.cc.orig	Sat May  8 22:53:10 2004
+++ src/PtyShell.cc	Sat May  8 22:53:39 2004
@@ -150,7 +150,7 @@ int PtyShell::getfd()
       putenv((char*)"LANGUAGE=C");
       if(a)
 	 execvp(a->a0(),a->GetVNonConst());
-      execl("/bin/sh","sh","-c",name,NULL);
+      execl("/bin/sh","sh","-c",name,(void *)NULL);
       fprintf(stderr,_("execl(/bin/sh) failed: %s\n"),strerror(errno));
       fflush(stderr);
       _exit(1);
