summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}