openbsd-ports/sysutils/cfengine/patches/patch-src_misc_c
okan 57f6993fcd - update to 2.2.10
- update MASTER_SITES

ok sturm@ william@
2009-09-01 14:25:15 +00:00

13 lines
460 B
Plaintext

$OpenBSD: patch-src_misc_c,v 1.8 2009/09/01 14:25:15 okan Exp $
--- src/misc.c.orig Wed Feb 11 00:55:36 2009
+++ src/misc.c Thu May 28 17:32:35 2009
@@ -273,7 +273,7 @@ else if (pid == 0) /* child */
ALARM_PID = -1;
if (useshell)
{
- if (execl("/bin/sh","sh","-c",comm,NULL) == -1)
+ if (execl("/bin/sh","sh","-c",comm,(void *)NULL) == -1)
{
yyerror("script failed");
perror("execl");