$OpenBSD: patch-web_startstop_c,v 1.2 2006/10/03 14:07:10 mbalmer Exp $ --- web/startstop.c.orig Thu Apr 20 04:29:28 2006 +++ web/startstop.c Mon Oct 2 18:38:41 2006 @@ -38,7 +38,7 @@ void start_smbd(void) become_daemon(True, False); - execl(binfile, binfile, "-D", NULL); + execl(binfile, binfile, "-D", (void *)NULL); exit(0); } @@ -58,7 +58,7 @@ void start_nmbd(void) become_daemon(True, False); - execl(binfile, binfile, "-D", NULL); + execl(binfile, binfile, "-D", (void *)NULL); exit(0); } @@ -78,7 +78,7 @@ void start_winbindd(void) become_daemon(True, False); - execl(binfile, binfile, NULL); + execl(binfile, binfile, (void *)NULL); exit(0); }