openbsd-ports/x11/golem/patches/patch-src_action_c
2010-05-22 20:59:08 +00:00

13 lines
411 B
Plaintext

$OpenBSD: patch-src_action_c,v 1.2 2010/05/22 20:59:08 espie Exp $
--- src/action.c.orig Sun Dec 2 07:27:56 2001
+++ src/action.c Sat May 22 15:49:42 2010
@@ -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);
}