Fix comments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4148 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c
index c51bd1d..3a3bc15 100644
--- a/coregrind/m_libcprint.c
+++ b/coregrind/m_libcprint.c
@@ -154,7 +154,7 @@
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 67621c3..8922a6a 100644
--- a/include/pub_tool_libcprint.h
+++ b/include/pub_tool_libcprint.h
@@ -45,7 +45,7 @@
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[]);
/* ---------------------------------------------------------------------