summaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-10-21 01:58:48 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-10-21 01:58:48 +0000
commita3550054aa10f8377ddd883b0cb97a5f51d0e2ef (patch)
tree3c2f9d8c42012f1b456eb2bd5044b68fcdfb631b /bfd/archive.c
parent925cefc5fa54054cffb33a63ecb5a1567404aa0b (diff)
downloadgdb-a3550054aa10f8377ddd883b0cb97a5f51d0e2ef.tar.gz
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index d7ac214c724..c2b1dda0a51 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -2082,7 +2082,7 @@ _bfd_archive_bsd_update_armap_timestamp (arch)
bfd_flush (arch);
if (bfd_stat (arch, &archstat) == -1)
{
- perror (_("Reading archive file mod timestamp"));
+ bfd_perror (_("Reading archive file mod timestamp"));
/* Can't read mod time for some reason. */
return true;
@@ -2108,8 +2108,7 @@ _bfd_archive_bsd_update_armap_timestamp (arch)
|| (bfd_bwrite (hdr.ar_date, (bfd_size_type) sizeof (hdr.ar_date), arch)
!= sizeof (hdr.ar_date)))
{
- /* FIXME: bfd can't call perror. */
- perror (_("Writing updated armap timestamp"));
+ bfd_perror (_("Writing updated armap timestamp"));
/* Some error while writing. */
return true;