diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-25 00:56:59 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:33 +0200 |
commit | 8808c26863c1d84062fd85340e0bb8971c30ebbc (patch) | |
tree | 22a5b31e9d63f0aba30bf7b5079988c490addc50 | |
parent | b5b89546cac76aeb6d18b36418edda2175f88eca (diff) |
ldd.c: change syntax, no size and no functional change
Proposed-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | utils/ldd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ldd.c b/utils/ldd.c index 908370dfe..2812d2a07 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -231,7 +231,7 @@ static int check_elf_header(ElfW(Ehdr) *const ehdr) } /* Check if the target endianness matches the host's endianness */ - byteswap = (ehdr->e_ident[5] == ELFDATAM) ? 0 : 1; + byteswap = !(ehdr->e_ident[5] == ELFDATAM); /* Be very lazy, and only byteswap the stuff we use */ if (byteswap) { |