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 /utils | |
| parent | b62ff2bba4eeded0ce47073a4034d6b3f3701dd6 (diff) | |
| download | rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.zip rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.gz rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.bz2 rockbox-6367b19c7bcaae0da3c080be42b1d9a19727da00.tar.xz | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sbinfo/sbinfo.c b/utils/sbinfo/sbinfo.c index 3617643..d065fc9 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); } |