From 71a72a84624232e06f41b605ac5a3e277f28a0dc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 7 Jan 2010 20:49:23 +0000 Subject: [PATCH] Reformat elfedit.c 2010-01-07 H.J. Lu * elfedit.c (update_elf_header): Reformat. --- binutils/ChangeLog | 4 ++++ binutils/elfedit.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2a39261b9d6..f42d478fd99 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-01-07 H.J. Lu + + * elfedit.c (update_elf_header): Reformat. + 2010-01-07 H.J. Lu * readelf.c (usage): Fix indent for --symbols. diff --git a/binutils/elfedit.c b/binutils/elfedit.c index 28e40be3215..6e2f8db4268 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -253,8 +253,7 @@ update_elf_header (const char *file_name, FILE *file) /* Skip if class doesn't match. */ if (input_elf_class == -1) input_elf_class = elf_header.e_ident[EI_CLASS]; - else - if (elf_header.e_ident[EI_CLASS] != input_elf_class) + else if (elf_header.e_ident[EI_CLASS] != input_elf_class) { non_fatal (_("%s: Unmatched EI_CLASS: %d is not %d\n"), -- 2.30.2