aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
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/archive.c
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/archive.c')
-rw-r--r--bfd/archive.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}