diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2010-12-03 20:41:56 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2010-12-03 20:41:56 +0000 |
commit | 6367b19c7bcaae0da3c080be42b1d9a19727da00 (patch) | |
tree | b3c697031c5099ec2bbb133ed792290f07354f1d | |
parent | b62ff2bba4eeded0ce47073a4034d6b3f3701dd6 (diff) | |
download | rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.gz 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
-rw-r--r-- | utils/sbinfo/sbinfo.c | 2 |
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 | |||
404 | } | 404 | } |
405 | } | 405 | } |
406 | 406 | ||
407 | if(elf_is_empty(&elf)) | 407 | if(!elf_is_empty(&elf)) |
408 | extract_elf_section(&elf, elf_count++, filename); | 408 | extract_elf_section(&elf, elf_count++, filename); |
409 | elf_release(&elf); | 409 | elf_release(&elf); |
410 | } | 410 | } |