openbsd-ports/net/samba/patches/patch-lib_smbrun_c
mbalmer 9d1bd157c2 Update to Samba 3.0.21b.
requested by and ok brad@
2006-02-02 09:40:43 +00:00

22 lines
565 B
Plaintext

$OpenBSD: patch-lib_smbrun_c,v 1.2 2006/02/02 09:40:43 mbalmer Exp $
--- lib/smbrun.c.orig Tue Oct 18 04:45:00 2005
+++ lib/smbrun.c Wed Dec 21 10:25:13 2005
@@ -172,7 +172,7 @@ int smbrun(const char *cmd, int *outfd)
}
#endif
- execl("/bin/sh","sh","-c",cmd,NULL);
+ execl("/bin/sh","sh","-c",cmd,(void *)NULL);
/* not reached */
exit(82);
@@ -299,7 +299,7 @@ int smbrunsecret(const char *cmd, const
}
#endif
- execl("/bin/sh", "sh", "-c", cmd, NULL);
+ execl("/bin/sh", "sh", "-c", cmd, (void *)NULL);
/* not reached */
exit(82);