13 lines
412 B
Plaintext
13 lines
412 B
Plaintext
|
$OpenBSD: patch-src_action_c,v 1.1 2002/12/28 23:29:13 pvalchev Exp $
|
||
|
--- src/action.c.orig Sat Dec 28 15:13:06 2002
|
||
|
+++ src/action.c Sat Dec 28 15:13:56 2002
|
||
|
@@ -44,7 +44,7 @@ pid_t action_exec(int screen, char *cmd)
|
||
|
strncat(buff, number, sizeof(buff) - strlen(buff));
|
||
|
putenv(buff);
|
||
|
|
||
|
- execl(_PATH_BSHELL, "sh", "-c", cmd, NULL);
|
||
|
+ execl(_PATH_BSHELL, "sh", "-c", cmd, (void *)NULL);
|
||
|
exit(1);
|
||
|
}
|
||
|
|