unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

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

index 4a9bcc82cb76ded8134e908a4bcbe080e939ea90..d5a9ba883e82cd85f38d5c94b3c89d92f1d390d9 100644 (file)
@@ -63,8 +63,11 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
 #ifndef __x86_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;
     }