diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-21 01:58:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-21 01:58:48 +0000 |
commit | 5fe39caef5ecbd0f21eee87f406cfb44a159c65e (patch) | |
tree | 2835061afa316150777ac06479fd3dc89e08fd3a /bfd/archive.c | |
parent | b0b05254fcab6c9d787bc5ce467d4a47e626d16c (diff) | |
download | gdb-5fe39caef5ecbd0f21eee87f406cfb44a159c65e.zip gdb-5fe39caef5ecbd0f21eee87f406cfb44a159c65e.tar.gz gdb-5fe39caef5ecbd0f21eee87f406cfb44a159c65e.tar.bz2 |
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index d7ac214..c2b1dda 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; |