diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-02 18:58:44 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-02 18:58:44 +0000 |
commit | 892339eeebd377e5f6bc58e0f7cbdfc57b718cfe (patch) | |
tree | 049ee106f965940e9adfeb037a273faba4b73918 /bfd/ppcboot.c | |
parent | aed80daedfb2895a386538f2e25bd6e00fb7935c (diff) | |
download | binutils-gdb-892339eeebd377e5f6bc58e0f7cbdfc57b718cfe.tar.gz |
2001-01-02 Kazu Hirata <kazu@hxi.com>
* pc532-mach.c: Fix formatting.
* pe-arm.c: Likewise.
* pe-i386.c: Likewise.
* pe-mips.c: Likewise.
* pe-ppc.c: Likewise.
* pe-sh.c: Likewise.
* pei-mips.c: Likewise.
* pei-sh.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.
Diffstat (limited to 'bfd/ppcboot.c')
-rw-r--r-- | bfd/ppcboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index 9441848b3d3..d92a0a6f0d8 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -234,7 +234,7 @@ ppcboot_get_section_contents (abfd, section, location, offset, count) file_ptr offset; bfd_size_type count; { - if (bfd_seek (abfd, offset + sizeof(ppcboot_hdr_t), SEEK_SET) != 0 + if (bfd_seek (abfd, offset + sizeof (ppcboot_hdr_t), SEEK_SET) != 0 || bfd_read (location, 1, count, abfd) != count) return false; return true; @@ -536,6 +536,6 @@ const bfd_target ppcboot_vec = BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), NULL, - + NULL }; |