unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 4 Oct 2022 05:07:58 +0000 (06:07 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 4 Oct 2022 05:07:58 +0000 (06:07 +0100)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

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

index 8863b752a270c4b0af56eb4a5fe655b7ba56b12e..bef60217061673cdb0e2bac1e59759c268da302d 100644 (file)
@@ -61,8 +61,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;
     }