|
From: <sv...@va...> - 2014-06-26 11:30:13
|
Author: florian
Date: Thu Jun 26 11:30:05 2014
New Revision: 14108
Log:
Fix a couple of format string mixups.
Modified:
trunk/memcheck/mc_errors.c
Modified: trunk/memcheck/mc_errors.c
==============================================================================
--- trunk/memcheck/mc_errors.c (original)
+++ trunk/memcheck/mc_errors.c Thu Jun 26 11:30:05 2014
@@ -609,7 +609,7 @@
extra->Err.Overlap.dst, extra->Err.Overlap.src );
} else {
emit( " <what>Source and destination overlap "
- "in %s(%#lx, %#lx, %lu)</what>\n",
+ "in %pS(%#lx, %#lx, %lu)</what>\n",
VG_(get_error_string)(err),
extra->Err.Overlap.dst, extra->Err.Overlap.src,
extra->Err.Overlap.szB );
@@ -617,7 +617,7 @@
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
} else {
if (extra->Err.Overlap.szB == 0) {
- emit( "Source and destination overlap in %pS(%#lx, %#lx)\n",
+ emit( "Source and destination overlap in %s(%#lx, %#lx)\n",
VG_(get_error_string)(err),
extra->Err.Overlap.dst, extra->Err.Overlap.src );
} else {
|