diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-01-07 20:49:23 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-01-07 20:49:23 +0000 |
commit | 5926e7f339d7bd99f1eccfd4e44d2e7ce73582a2 (patch) | |
tree | 312fd0bae1ff719e5afe910f44c124ee89d09b5b | |
parent | 35e13f779d25697caa8c4699152dea478205bb35 (diff) | |
download | binutils-redhat-5926e7f339d7bd99f1eccfd4e44d2e7ce73582a2.tar.gz |
Reformat elfedit.c
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
* elfedit.c (update_elf_header): Reformat.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/elfedit.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2a39261b9d..f42d478fd9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + * elfedit.c (update_elf_header): Reformat. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + * readelf.c (usage): Fix indent for --symbols. 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> diff --git a/binutils/elfedit.c b/binutils/elfedit.c index 28e40be321..6e2f8db426 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"), |