summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-07-13 17:28:28 +0000
committerhunt <hunt>2005-07-13 17:28:28 +0000
commit63176c2d8a6ef17a12e58737a5ca2649ffc84693 (patch)
treedca7f6970baf55067f6848ff7d99a0a1a7ef9a8d /runtime/stpd/librelay.c
parentfa60355b7aacd1f4b10f1497792787288c0632ff (diff)
downloadsystemtap-steved-63176c2d8a6ef17a12e58737a5ca2649ffc84693.tar.gz
systemtap-steved-63176c2d8a6ef17a12e58737a5ca2649ffc84693.tar.xz
systemtap-steved-63176c2d8a6ef17a12e58737a5ca2649ffc84693.zip
2005-07-13 Martin Hunt <hunt@redhat.com>
* librelay.c (init_stp): Change last arg to NULL, not 0.
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r--runtime/stpd/librelay.c2
1 files changed, 1 insertions, 1 deletions
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);
}