diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2009-02-25 15:48:50 +0530 |
---|---|---|
committer | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2009-02-25 15:48:50 +0530 |
commit | bec508deffdb39affbd6e93a7ce1d2c92d653a12 (patch) | |
tree | 7347332276aa0edaddc1126b14bc9b195eb42083 /tapsets.cxx | |
parent | 0e4c80225fc77cfa5b830ddac3f60a28d47ce7bb (diff) | |
download | systemtap-steved-bec508deffdb39affbd6e93a7ce1d2c92d653a12.tar.gz systemtap-steved-bec508deffdb39affbd6e93a7ce1d2c92d653a12.tar.xz systemtap-steved-bec508deffdb39affbd6e93a7ce1d2c92d653a12.zip |
PR9896: Fix SystemTap build on Ubuntu Intrepid.
The gcc on Ubuntu doesn't like fprintf() without format arguments
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 77e2efcc..b2419b62 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2297,9 +2297,9 @@ struct dwflpp assert(memstream); fprintf(memstream, "{\n"); - fprintf(memstream, prelude.c_str()); + fprintf(memstream, "%s", prelude.c_str()); bool deref = c_emit_location (memstream, head, 1); - fprintf(memstream, postlude.c_str()); + fprintf(memstream, "%s", postlude.c_str()); fprintf(memstream, " goto out;\n"); // dummy use of deref_fault label, to disable warning if deref() not used |