From: GNU Libc Maintainers Date: Fri, 3 Jan 2025 10:56:38 +0000 (+0100) Subject: unsubmitted-quiet-ldconfig X-Git-Tag: archive/raspbian/2.40-5+rpi1^2~39 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ac66b4118197ddd26a16675e36ade9b4e5fb8de6;p=glibc.git unsubmitted-quiet-ldconfig Gbp-Pq: Topic i386 Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff --- diff --git a/sysdeps/x86/readelflib.c b/sysdeps/x86/readelflib.c index 8ce65cdb6..fd633c097 100644 --- a/sysdeps/x86/readelflib.c +++ b/sysdeps/x86/readelflib.c @@ -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; }