openbsd-ports/sysutils/cfengine/patches/patch-src_popen_c
okan 262453a579 update to 2.2.9
ok sturm and MAINTAINER (bsd@openbsd.rutgers.edu)
2009-04-25 22:07:37 +00:00

22 lines
525 B
Plaintext

$OpenBSD: patch-src_popen_c,v 1.4 2009/04/25 22:07:37 okan Exp $
--- src/popen.c.orig Mon Sep 8 11:43:41 2008
+++ src/popen.c Sat Apr 11 16:32:57 2009
@@ -452,7 +452,7 @@ if (pid == 0)
}
}
- execl("/bin/sh","sh","-c",command,NULL);
+ execl("/bin/sh","sh","-c",command,(void *)NULL);
_exit(1);
}
else
@@ -596,7 +596,7 @@ if (pid == 0)
_exit(1);
}
- execl("/bin/sh","sh","-c",command,NULL);
+ execl("/bin/sh","sh","-c",command,(void *)NULL);
_exit(1);
}
else