]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Fix nesting of braces
authorUlf Hermann <ulf.hermann@qt.io>
Thu, 27 Apr 2017 14:35:23 +0000 (16:35 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 27 Apr 2017 22:33:18 +0000 (00:33 +0200)
commitab293bfbc76a0fa5461bcbdb105332a9f1d85892
tree0c4d46f6de1838b4b73584787d26ebb6b9c7b7b0
parenta6c6fb4ae497a086e75f9436b67a1de4564bfb91
Fix nesting of braces

The way it was before it didn't actually test if elf_update failed, but
rather did something random. !!(<some number>) is a boolean and boolean
true can be represented as anything non-0, including negative numbers.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
libasm/ChangeLog
libasm/asm_end.c