84abc278d0
- regen patches while here "if it works for you" mbalmer@
13 lines
543 B
Plaintext
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);
|