]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix regression on none/tests/faultstatus caused by r8522.
authorJulian Seward <jseward@acm.org>
Mon, 25 Aug 2008 12:10:14 +0000 (12:10 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 25 Aug 2008 12:10:14 +0000 (12:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8547

coregrind/m_debuginfo/debuginfo.c

index 9e4688d4ad1d187ce32a4b8711cf265f480dd58a..ce093141753c12858984b5921ad63d3826f99762 100644 (file)
@@ -545,7 +545,7 @@ void VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV )
    if (statres.isError) {
       DebugInfo fake_di;
       Bool quiet = VG_(strstr)(filename, "/var/run/nscd/") != NULL;
-      if (!quiet) {
+      if (!quiet && VG_(clo_verbosity) > 1) {
          VG_(memset)(&fake_di, 0, sizeof(fake_di));
          fake_di.filename = filename;
          ML_(symerr)(&fake_di, True, "failed to stat64/stat this file");