openbsd-ports/devel/libgtop2/patches/patch-lib_open_c
2005-05-25 23:28:16 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-lib_open_c,v 1.2 2005/05/25 23:28:16 marcm Exp $
--- lib/open.c.orig Tue Feb 15 04:48:33 2005
+++ lib/open.c Mon Apr 11 19:56:33 2005
@@ -111,7 +111,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);