summaryrefslogtreecommitdiffstats
path: root/grapher/grapher.cxx
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-06-04 15:49:16 +0200
committerTim Moore <timoore@redhat.com>2009-07-28 11:20:46 +0200
commita030ced8c0b8109ba7b23bbbc65deddf88154a2f (patch)
treecf418c3355706384f83d3dd5962613a50328645e /grapher/grapher.cxx
parent5f4f8b1129659adb2015ce42821faccf8fe6d8d5 (diff)
downloadsystemtap-steved-a030ced8c0b8109ba7b23bbbc65deddf88154a2f.tar.gz
systemtap-steved-a030ced8c0b8109ba7b23bbbc65deddf88154a2f.tar.xz
systemtap-steved-a030ced8c0b8109ba7b23bbbc65deddf88154a2f.zip
grapher fixups
* grapher/grapher.cxx (main): Fix problems with call to execlp.
Diffstat (limited to 'grapher/grapher.cxx')
-rw-r--r--grapher/grapher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/grapher.cxx b/grapher/grapher.cxx
index 0013d8b0..26e5b9b2 100644
--- a/grapher/grapher.cxx
+++ b/grapher/grapher.cxx
@@ -119,7 +119,7 @@ int main(int argc, char** argv)
{
dup2(pipefd[1], 1);
close(pipefd[1]);
- execlp("stap", argv[1]);
+ execlp("stap", "stap", argv[1], static_cast<char*>(0));
exit(1);
return 1;
}