diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/stpd/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 7cd70ccd..4a65035e 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,3 +1,7 @@ +2005-07-13 Martin Hunt <hunt@redhat.com> + + * librelay.c (init_stp): Change last arg to NULL, not 0. + 2005-07-08 Martin Hunt <hunt@redhat.com> * librelay.c (sigchld): Signal handler to detect 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); } |