From: Nicholas Nethercote Date: Tue, 28 Jun 2005 02:54:52 +0000 (+0000) Subject: Fix comment. X-Git-Tag: svn/VALGRIND_3_0_0~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4188a2292d238bcaa2feb3d24dabd32e8d70c0;p=thirdparty%2Fvalgrind.git Fix comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4040 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 27cc223252..363aaae2da 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1966,8 +1966,8 @@ static void process_cmd_line_options( UInt* client_auxv, const char* toolname ) if (VG_(clo_n_suppressions) < VG_CLO_MAX_SFILES-1 && (VG_(needs).core_errors || VG_(needs).tool_errors)) { - /* If there are no suppression files specified and the tool - needs one, load the default */ + /* If we haven't reached the max number of suppressions, load + the default one. */ static const Char default_supp[] = "default.supp"; Int len = VG_(strlen)(VG_(libdir)) + 1 + sizeof(default_supp); Char *buf = VG_(arena_malloc)(VG_AR_CORE, len);