aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index ae4c76d..1a00783 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);
}