unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 7 Feb 2024 18:25:17 +0000 (18:25 +0000)
committerRaspbian forward porter <root@raspbian.org>
Wed, 7 Feb 2024 18:25:17 +0000 (18:25 +0000)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

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

index 3b8a2281623463f0543d0bedb8130f86e781d4fc..f586a9031ab96e8e61584e75388692ff0caa3c04 100644 (file)
@@ -59,8 +59,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;
     }