about summary refs log tree commit diff
path: root/elf/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/cache.c')
-rw-r--r--elf/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/cache.c b/elf/cache.c
index d13e4dbbd7..f17976c050 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -72,7 +72,7 @@ static void
 print_entry (const char *lib, int flag, const char *key)
 {
   printf ("\t%s (", lib);
-  switch (flag)
+  switch (flag & FLAG_TYPE_MASK)
     {
     case FLAG_LIBC4:
     case FLAG_ELF: