|
From: <sv...@va...> - 2014-10-14 21:23:37
|
Author: florian
Date: Tue Oct 14 22:23:30 2014
New Revision: 14629
Log:
Fix a format string.
Modified:
branches/BUF_REMOVAL/coregrind/m_libcprint.c
Modified: branches/BUF_REMOVAL/coregrind/m_libcprint.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_libcprint.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_libcprint.c Tue Oct 14 22:23:30 2014
@@ -387,7 +387,7 @@
// Have to generate the format string in order to be flexible about
// the width of the post-decimal-point part.
VG_(sprintf)(fmt, "%%llu.%%0%ullu%%%%", d);
- // fmt is now "%lld.%0<d>lld%%" where <d> is 1,2,3...
+ // fmt is now "%llu.%0<d>llu%%" where <d> is 1,2,3...
VG_(sprintf)(buf, fmt, p1, p2); // FIXME: unsafe
}
|