From: Julian Seward Date: Mon, 14 Feb 2011 10:28:39 +0000 (+0000) Subject: Merge from trunk, r11514 (place the closing on the X-Git-Tag: svn/VALGRIND_3_6_1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acdde5adaa2211aa771aed2e041abbeca405e5fd;p=thirdparty%2Fvalgrind.git Merge from trunk, r11514 (place the closing on the correct stream) git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11547 --- diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 573f4277a2..96638e55e3 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -1114,7 +1114,7 @@ static void load_one_suppressions_file ( Char* filename ) // Check it's not a directory. if (VG_(is_dir)( filename )) { if (VG_(clo_xml)) - VG_(umsg)("\n"); + VG_(printf_xml)("\n"); VG_(umsg)("FATAL: suppressions file \"%s\" is a directory\n", filename ); VG_(exit)(1); } @@ -1123,7 +1123,7 @@ static void load_one_suppressions_file ( Char* filename ) sres = VG_(open)( filename, VKI_O_RDONLY, 0 ); if (sr_isError(sres)) { if (VG_(clo_xml)) - VG_(umsg)("\n"); + VG_(printf_xml)("\n"); VG_(umsg)("FATAL: can't open suppressions file \"%s\"\n", filename ); VG_(exit)(1); } @@ -1275,7 +1275,7 @@ static void load_one_suppressions_file ( Char* filename ) syntax_error: if (VG_(clo_xml)) - VG_(umsg)("\n"); + VG_(printf_xml)("\n"); VG_(umsg)("FATAL: in suppressions file \"%s\" near line %d:\n", filename, lineno ); VG_(umsg)(" %s\n", err_str );