From: Nicholas Nethercote Date: Sun, 17 Jul 2005 16:12:59 +0000 (+0000) Subject: Fix comments. X-Git-Tag: svn/VALGRIND_3_0_0~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234a4c5d545b4774f104bb9286539b83f362e684;p=thirdparty%2Fvalgrind.git Fix comments. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4148 --- diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c index c51bd1d6be..3a3bc15fa8 100644 --- a/coregrind/m_libcprint.c +++ b/coregrind/m_libcprint.c @@ -154,7 +154,7 @@ UInt VG_(sprintf) ( Char* buf, const HChar *format, ... ) percentify() ------------------------------------------------------------------ */ -// Percentify n/m with p decimal places. Includes the '%' symbol at the end. +// Percentify n/m with d decimal places. Includes the '%' symbol at the end. void VG_(percentify)(UInt n, UInt m, UInt d, Int n_buf, char buf[]) { Int i, len, space; diff --git a/include/pub_tool_libcprint.h b/include/pub_tool_libcprint.h index 67621c36ae..8922a6a05e 100644 --- a/include/pub_tool_libcprint.h +++ b/include/pub_tool_libcprint.h @@ -45,7 +45,7 @@ extern UInt VG_(vprintf) ( const HChar *format, va_list vargs ); extern UInt VG_(sprintf) ( Char* buf, const HChar* format, ... ); extern UInt VG_(vsprintf)( Char* buf, const HChar* format, va_list vargs ); -// Percentify n/m with p decimal places. Includes the '%' symbol at the end. +// Percentify n/m with d decimal places. Includes the '%' symbol at the end. extern void VG_(percentify)(UInt n, UInt m, UInt d, Int n_buf, char buf[]); /* ---------------------------------------------------------------------