From d0c63cb3d48a91935bf773b163a24c40a3aa15a0 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Fri, 25 Mar 2011 00:56:59 +0100
Subject: [PATCH 198/396] 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>
---
 utils/ldd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/ldd.c b/utils/ldd.c
index babb68d..352b603 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -232,7 +232,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) {
-- 
1.7.0.4

