unsubmitted-quiet-ldconfig
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

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

index 3a845595929fcb963b8a767ae75acf3dd3ff4c0c..bed35c47fca404ed882c282ee66199a6567efc9c 100644 (file)
@@ -62,8 +62,11 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
 #ifndef SKIP_EM_IA_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;
     }