4d9627f908
cast NULL sentinel to void * so it is 64bit on alpha & sparc64, use NULL instead of '0' where appropriate.
13 lines
478 B
Plaintext
13 lines
478 B
Plaintext
$OpenBSD: patch-src_common_outbound_c,v 1.1 2002/12/30 09:15:26 pvalchev Exp $
|
|
--- src/common/outbound.c.orig Mon Dec 30 00:53:29 2002
|
|
+++ src/common/outbound.c Mon Dec 30 00:53:37 2002
|
|
@@ -1879,7 +1879,7 @@ cmd_exec (struct session *sess, char *tb
|
|
/* Now we call /bin/sh to run our cmd ; made it more friendly -DC1 */
|
|
if (shell)
|
|
{
|
|
- execl ("/bin/sh", "sh", "-c", cmd, 0);
|
|
+ execl ("/bin/sh", "sh", "-c", cmd, (void *)NULL);
|
|
} else
|
|
{
|
|
char **argv;
|