$OpenBSD: patch-src_gutenprintui_plist_c,v 1.1.1.1 2007/10/01 10:32:57 ajacoutot Exp $
--- src/gutenprintui/plist.c.orig	Fri Mar  2 04:01:18 2007
+++ src/gutenprintui/plist.c	Mon Jun 18 23:32:40 2007
@@ -1589,7 +1589,7 @@ stpui_print(const stpui_plist_t *printer, stpui_image_
 			  close (pipefd[0]);
 			  close (pipefd[1]);
 			  close(syncfd[1]);
-			  execl("/bin/sh", "/bin/sh", "-c", command, NULL);
+			  execl("/bin/sh", "/bin/sh", "-c", command, (char *)NULL);
 			  /* NOTREACHED */
 			  _exit (1);
 			}
