From: GNU Libc Maintainers Date: Sat, 17 May 2025 15:15:43 +0000 (+0200) Subject: unsubmitted-quiet-ldconfig X-Git-Tag: archive/raspbian/2.41-8+rpi1^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=46e59e217946f947abb058122d38663389997063;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 acb25d710..f036eee60 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; }