From 6dfc6a941e7c56a072b53a781c6a272992c312d2 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Tue, 4 Oct 2022 06:07:58 +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 8863b752a..bef602170 100644 --- a/sysdeps/unix/sysv/linux/x86/readelflib.c +++ b/sysdeps/unix/sysv/linux/x86/readelflib.c @@ -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; } -- 2.30.2