aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-07-22 14:48:54 +0000
committerAlan Modra <amodra@gmail.com>2010-07-22 14:48:54 +0000
commit21fd2dbd9c97e24d8de650f0350a249d737d7852 (patch)
tree99c6c9e2cbb650fb130c8a8805d959a61be1e470 /bfd
parentc6a3cf87fb9cd68e3e3e86017f8282a66a4edb09 (diff)
downloadgdb-21fd2dbd9c97e24d8de650f0350a249d737d7852.zip
gdb-21fd2dbd9c97e24d8de650f0350a249d737d7852.tar.gz
gdb-21fd2dbd9c97e24d8de650f0350a249d737d7852.tar.bz2
* archive.c (_bfd_archive_bsd44_construct_extended_name_table):
Correct format specifier.
Diffstat (limited to 'bfd')
-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);
}
}