aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/archive.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a6ce531..cdbf3a0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-23 Alan Modra <amodra@gmail.com>
+
+ * archive.c (_bfd_archive_bsd44_construct_extended_name_table):
+ Correct format specifier.
+
2010-07-22 Alan Modra <amodra@gmail.com>
* ecoff.c: Don't include aout/ranlib.h.
diff --git a/bfd/archive.c b/bfd/archive.c
index fbe555b..1b3f692 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1649,7 +1649,7 @@ _bfd_archive_bsd44_construct_extended_name_table (bfd *abfd,
len = (len + 3) & ~3;
arch_eltdata (current)->extra_size = len;
- _bfd_ar_spacepad (hdr->ar_name, maxname, "#1/%u", len);
+ _bfd_ar_spacepad (hdr->ar_name, maxname, "#1/%lu", len);
}
}