diff options
Diffstat (limited to 'ace/Stats.cpp')
-rw-r--r-- | ace/Stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Stats.cpp b/ace/Stats.cpp index b025ba2e616..2b4cfbc207c 100644 --- a/ace/Stats.cpp +++ b/ace/Stats.cpp @@ -222,7 +222,7 @@ ACE_Stats::print_summary (const u_int precision, // Build a format string, in case the C library doesn't support %*u. ASYS_TCHAR format[32]; if (tmp_precision == 0) - ACE_OS::sprintf (format, ASYS_TEXT ("%%d"), tmp_precision); + ACE_OS::sprintf (format, ASYS_TEXT ("%%%d"), tmp_precision); else ACE_OS::sprintf (format, ASYS_TEXT ("%%d.%%0%du"), tmp_precision); |