From ef071f24715e597273c401761439bbeb77796623 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 10 Aug 2001 18:43:44 +0000 Subject: [PATCH] 2001-08-10 H.J. Lu * bfd.c (bfd_sprintf_vma): Fix a typo in the last change. (bfd_fprintf_vma): Likewise. --- bfd/ChangeLog | 5 +++++ bfd/bfd.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index af706818293..ca14de9b141 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 H.J. Lu + + * bfd.c (bfd_sprintf_vma): Fix a typo in the last change. + (bfd_fprintf_vma): Likewise. + 2001-08-10 H.J. Lu * bfd.c (bfd_sprintf_vma): Don't return void. diff --git a/bfd/bfd.c b/bfd/bfd.c index ae4c76dfddb..1a0078341b9 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -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); } -- 2.30.2