unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 6 Jul 2021 19:16:59 +0000 (20:16 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 6 Jul 2021 19:16:59 +0000 (20:16 +0100)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

sysdeps/unix/sysv/linux/i386/readelflib.c

index 05f182734a23ee2aa2e805288f006f7089a40afc..a368911b826426179158d39a7531dc1dc471285b 100644 (file)
@@ -62,8 +62,11 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
 #ifndef SKIP_EM_IA_64
 failed:
 #endif
-      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;
     }