summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-12-03 20:41:56 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-12-03 20:41:56 +0000
commit6367b19c7bcaae0da3c080be42b1d9a19727da00 (patch)
treeb3c697031c5099ec2bbb133ed792290f07354f1d /utils
parentb62ff2bba4eeded0ce47073a4034d6b3f3701dd6 (diff)
downloadrockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.gz
rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.bz2
rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.zip
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
Diffstat (limited to 'utils')
-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);
}