openbsd-ports/net/samba/patches/patch-smbd_chgpasswd_c
sturm f04acb3271 fix some NULL pointer sentinels
fix pathes in the port's Makefile
add a missing directory to PLIST

ok mbalmer@
2005-05-27 04:54:40 +00:00

13 lines
525 B
Plaintext

$OpenBSD: patch-smbd_chgpasswd_c,v 1.1 2005/05/27 04:54:40 sturm Exp $
--- smbd/chgpasswd.c.orig Thu May 26 14:42:51 2005
+++ smbd/chgpasswd.c Thu May 26 14:43:09 2005
@@ -218,7 +218,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);