$OpenBSD: patch-lib_smbrun_c,v 1.2 2006/02/02 09:40:43 mbalmer Exp $
--- lib/smbrun.c.orig	Tue Oct 18 04:45:00 2005
+++ lib/smbrun.c	Wed Dec 21 10:25:13 2005
@@ -172,7 +172,7 @@ int smbrun(const char *cmd, int *outfd)
 	}
 #endif
 
-	execl("/bin/sh","sh","-c",cmd,NULL);  
+	execl("/bin/sh","sh","-c",cmd,(void *)NULL);  
 	
 	/* not reached */
 	exit(82);
@@ -299,7 +299,7 @@ int smbrunsecret(const char *cmd, const 
 	}
 #endif
 
-	execl("/bin/sh", "sh", "-c", cmd, NULL);  
+	execl("/bin/sh", "sh", "-c", cmd, (void *)NULL);  
 	
 	/* not reached */
 	exit(82);
