From c64fe8c4ce0857eb2918b29e8eaf7f88d81fad24 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Fri, 16 Jul 1999 21:43:11 +0000 Subject: Fixed format specifier that was expecting an integer argument. It needed an additional percent specifier. --- ace/Stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ace/Stats.cpp') 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); -- cgit v1.2.1