From 973d43e7cfb32a2d95e2ba491a92abf7e6962d54 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Thu, 6 Mar 2025 23:46:53 +0100 Subject: [PATCH] unsubmitted-quiet-ldconfig Gbp-Pq: Topic i386 Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff --- sysdeps/unix/sysv/linux/x86/readelflib.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/x86/readelflib.c b/sysdeps/unix/sysv/linux/x86/readelflib.c index cfa2a9dd2..6860df380 100644 --- a/sysdeps/unix/sysv/linux/x86/readelflib.c +++ b/sysdeps/unix/sysv/linux/x86/readelflib.c @@ -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; } -- 2.30.2