summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/sbinfo/sbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sbinfo/sbinfo.c b/utils/sbinfo/sbinfo.c
index 361764310f..d065fc9eed 100644
--- a/utils/sbinfo/sbinfo.c
+++ b/utils/sbinfo/sbinfo.c
@@ -404,7 +404,7 @@ static void extract_section(int data_sec, char name[5], byte *buf, int size, con
}
}
- if(elf_is_empty(&elf))
+ if(!elf_is_empty(&elf))
extract_elf_section(&elf, elf_count++, filename);
elf_release(&elf);
}