2005-05-25 19:28:16 -04:00
|
|
|
$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
|
2004-08-01 02:06:35 -04:00
|
|
|
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);
|