diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 18:43:44 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 18:43:44 +0000 |
commit | ef071f24715e597273c401761439bbeb77796623 (patch) | |
tree | 4a58428b521a9f1eaa566728364467d31153431e /bfd/bfd.c | |
parent | d8180c76ad59975d1ae5b0129cf39e09d2590d5e (diff) | |
download | gdb-ef071f24715e597273c401761439bbeb77796623.zip gdb-ef071f24715e597273c401761439bbeb77796623.tar.gz gdb-ef071f24715e597273c401761439bbeb77796623.tar.bz2 |
2001-08-10 H.J. Lu <hjl@gnu.org>
* bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
(bfd_fprintf_vma): Likewise.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1271,7 +1271,8 @@ bfd_sprintf_vma (abfd, buf, value) { if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) bfd_elf_sprintf_vma (abfd, buf, value); - sprintf_vma (buf, value); + else + sprintf_vma (buf, value); } void @@ -1282,5 +1283,6 @@ bfd_fprintf_vma (abfd, stream, value) { if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) bfd_elf_fprintf_vma (abfd, stream, value); - fprintf_vma ((FILE *) stream, value); + else + fprintf_vma ((FILE *) stream, value); } |