openbsd-ports/net/samba/patches/patch-web_startstop_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

31 lines
665 B
Plaintext

$OpenBSD: patch-web_startstop_c,v 1.1 2005/05/27 04:54:40 sturm Exp $
--- web/startstop.c.orig Thu May 26 14:44:50 2005
+++ web/startstop.c Thu May 26 14:46:16 2005
@@ -38,7 +38,7 @@ void start_smbd(void)
become_daemon(True);
- execl(binfile, binfile, "-D", NULL);
+ execl(binfile, binfile, "-D", (void *)NULL);
exit(0);
}
@@ -58,7 +58,7 @@ void start_nmbd(void)
become_daemon(True);
- execl(binfile, binfile, "-D", NULL);
+ execl(binfile, binfile, "-D", (void *)NULL);
exit(0);
}
@@ -78,7 +78,7 @@ void start_winbindd(void)
become_daemon(True);
- execl(binfile, binfile, NULL);
+ execl(binfile, binfile, (void *)NULL);
exit(0);
}