]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix comment.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 28 Jun 2005 02:54:52 +0000 (02:54 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 28 Jun 2005 02:54:52 +0000 (02:54 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4040

coregrind/m_main.c

index 27cc22325256f9883d25308cccf93ae6bcf89761..363aaae2da31787e02dda9ca38682b2e5da2bab6 100644 (file)
@@ -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);