unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 17 May 2025 15:15:43 +0000 (17:15 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sat, 17 May 2025 15:15:43 +0000 (17:15 +0200)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

sysdeps/x86/readelflib.c

index acb25d710bf4368cf7890976243d864ba9cc1fbb..f036eee605c9f320be2ea7ebf5bb8647aa49bd01 100644 (file)
@@ -46,8 +46,11 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
        break;
       /* Fall through.  */
     default:
-      error (0, 0, _("%s is for unknown machine %d.\n"),
-            file_name, elf_header->e_machine);
+      if (opt_verbose)
+       {
+         error (0, 0, _("%s is for unknown machine %d.\n"),
+               file_name, elf_header->e_machine);
+       }
       return 1;
     }