$OpenBSD: patch-lib_open_c,v 1.1 2002/12/29 00:10:48 pvalchev Exp $
--- lib/open.c.orig	Sat Dec 28 15:35:34 2002
+++ lib/open.c	Sat Dec 28 15:35:40 2002
@@ -110,7 +110,7 @@ glibtop_open_l (glibtop *server, const c
 			close (server->input [0]); close (server->output [1]);
 			dup2 (server->input [1], 1);
 			dup2 (server->output [0], 0);
-			execl (LIBGTOP_SERVER, "libgtop-server", NULL);
+			execl (LIBGTOP_SERVER, "libgtop-server", (void *)NULL);
 			glibtop_error_io_r (server, "execl (%s)",
 					    LIBGTOP_SERVER);
 			_exit (2);
