This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu


------- Additional Comments From ananth at in dot ibm dot com  2009-02-25 09:35 -------
The following patch fixes the problem for Ankita. Do we want this fix or is
removing -Werror preferred?

---
 tapsets.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: systemtap-20feb/tapsets.cxx
===================================================================
--- systemtap-20feb.orig/tapsets.cxx
+++ systemtap-20feb/tapsets.cxx
@@ -2296,9 +2296,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


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9896

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]