]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Followup to r10822: send the CDATA text to the XML channel, not the
authorJulian Seward <jseward@acm.org>
Sat, 15 Aug 2009 23:33:04 +0000 (23:33 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 15 Aug 2009 23:33:04 +0000 (23:33 +0000)
text one.  Duh.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10825

coregrind/m_errormgr.c

index 3891b5c0b582037ac7dc49f1a8723dce524ec275..19353c68af0b07f5bba79ec2fbe3cae142302f41 100644 (file)
@@ -415,7 +415,7 @@ static void gen_suppression(Error* err)
       // itself contains "]]>", as specified in Protocol 4.
       VG_(printf_xml)("    <rawtext>\n");
       VG_(printf_xml)("<![CDATA[\n");
-      VG_(printf)("%s", (HChar*) VG_(indexXA)(text, 0) );
+      VG_(printf_xml)("%s", (HChar*) VG_(indexXA)(text, 0) );
       VG_(printf_xml)("]]>\n");
       VG_(printf_xml)("    </rawtext>\n");
       VG_(printf_xml)("  </suppression>\n");