$OpenBSD: patch-history_c,v 1.2 2002/12/03 19:51:26 markus Exp $
--- history.c.orig	Mon Dec  2 11:15:01 2002
+++ history.c	Mon Dec  2 11:15:20 2002
@@ -339,7 +339,7 @@ next:	s = getcommand();
 			fprintf(stderr, "%s\n", s);
 		if (shell == NULL)
 			shell = "/bin/sh";
-		execl(shell, rc_basename(shell), "-c", s, NULL);
+		execl(shell, rc_basename(shell), "-c", s, (void *)NULL);
 		perror(shell);
 		exit(1);
 	}
