13 lines
415 B
Plaintext
13 lines
415 B
Plaintext
$OpenBSD: patch-history_c,v 1.3 2003/05/15 03:25:56 markus Exp $
|
|
--- history.c.orig Wed Nov 20 21:43:31 2002
|
|
+++ history.c Wed Nov 20 21:43:52 2002
|
|
@@ -331,7 +331,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);
|
|
}
|