From 6367b19c7bcaae0da3c080be42b1d9a19727da00 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 3 Dec 2010 20:41:56 +0000 Subject: [PATCH] sbinfo: fix crazy condition to avoid empty elf file generation (it is reversed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28731 a1c6a512-1295-4272-9138-f99709370657 --- utils/sbinfo/sbinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }