openbsd-ports/net/samba/patches/patch-smbd_chgpasswd_c
ajacoutot 84abc278d0 - don't use hardcoded paths in swat man page
- regen patches while here

"if it works for you" mbalmer@
2007-04-06 14:20:35 +00:00

13 lines
543 B
Plaintext

$OpenBSD: patch-smbd_chgpasswd_c,v 1.3 2007/04/06 14:20:35 ajacoutot Exp $
--- smbd/chgpasswd.c.orig Sun Feb 4 19:59:13 2007
+++ smbd/chgpasswd.c Fri Apr 6 14:46:58 2007
@@ -222,7 +222,7 @@ static int dochild(int master, const char *slavedev, c
passwordprogram));
/* execl() password-change application */
- if (execl("/bin/sh", "sh", "-c", passwordprogram, NULL) < 0)
+ if (execl("/bin/sh", "sh", "-c", passwordprogram, (void *)NULL) < 0)
{
DEBUG(3, ("Bad status returned from %s\n", passwordprogram));
return (False);