$OpenBSD: patch-smbd_chgpasswd_c,v 1.5 2010/04/26 17:31:57 sthen Exp $ --- smbd/chgpasswd.c.orig Mon Mar 1 22:14:34 2010 +++ smbd/chgpasswd.c Tue Mar 2 09:28:24 2010 @@ -232,7 +232,7 @@ static int dochild(int master, const char *slavedev, c passwordprogram)); /* execl() password-change application */ - if (execle("/bin/sh", "sh", "-c", passwordprogram, NULL, eptrs) < 0) + if (execle("/bin/sh", "sh", "-c", passwordprogram, (void *)NULL, eptrs) < 0) { DEBUG(3, ("Bad status returned from %s\n", passwordprogram)); return (False);