d962a2a9ce
from Moritz Grimm <mlist at scapa.dnsalias.net> ok espie@
13 lines
538 B
Plaintext
13 lines
538 B
Plaintext
$OpenBSD: patch-lib_open_c,v 1.4 2007/02/21 17:27:54 steven Exp $
|
|
--- lib/open.c.orig Tue Jan 2 23:50:29 2007
|
|
+++ lib/open.c Sun Feb 18 20:23:18 2007
|
|
@@ -112,7 +112,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);
|