9d1bd157c2
requested by and ok brad@
13 lines
527 B
Plaintext
13 lines
527 B
Plaintext
$OpenBSD: patch-smbd_chgpasswd_c,v 1.2 2006/02/02 09:40:43 mbalmer Exp $
|
|
--- smbd/chgpasswd.c.orig Wed Jan 25 00:46:32 2006
|
|
+++ smbd/chgpasswd.c Tue Jan 31 10:01:07 2006
|
|
@@ -222,7 +222,7 @@ static int dochild(int master, const cha
|
|
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);
|