diff options
author | Tim Moore <timoore@redhat.com> | 2009-06-04 15:49:16 +0200 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-07-28 11:20:46 +0200 |
commit | a030ced8c0b8109ba7b23bbbc65deddf88154a2f (patch) | |
tree | cf418c3355706384f83d3dd5962613a50328645e | |
parent | 5f4f8b1129659adb2015ce42821faccf8fe6d8d5 (diff) | |
download | systemtap-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.
-rw-r--r-- | grapher/grapher.cxx | 2 |
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; } |