From 63176c2d8a6ef17a12e58737a5ca2649ffc84693 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 13 Jul 2005 17:28:28 +0000 Subject: 2005-07-13 Martin Hunt * librelay.c (init_stp): Change last arg to NULL, not 0. --- runtime/stpd/librelay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stpd/librelay.c') diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 5fdf5e12..4538d741 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -495,7 +495,7 @@ int init_stp(const char *modname, perror ("vfork"); exit(-1); } else if (pid == 0) { - execl("/sbin/insmod", "insmod", modname, buf, 0); + execl("/sbin/insmod", "insmod", modname, buf, NULL); perror ("exec"); exit(-1); } -- cgit