* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.
This commit is contained in:
parent
b0b05254fc
commit
5fe39caef5
2 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-10-21 Elias Athanasopoulos <eathan@otenet.gr>
|
||||||
|
|
||||||
|
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
|
||||||
|
perror with bfd_perror.
|
||||||
|
|
||||||
2002-10-19 H.J. Lu <hjl@gnu.org>
|
2002-10-19 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* elflink.h (elf_link_add_object_symbols): Correctly handle
|
* elflink.h (elf_link_add_object_symbols): Correctly handle
|
||||||
|
|
|
@ -2082,7 +2082,7 @@ _bfd_archive_bsd_update_armap_timestamp (arch)
|
||||||
bfd_flush (arch);
|
bfd_flush (arch);
|
||||||
if (bfd_stat (arch, &archstat) == -1)
|
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. */
|
/* Can't read mod time for some reason. */
|
||||||
return true;
|
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)
|
|| (bfd_bwrite (hdr.ar_date, (bfd_size_type) sizeof (hdr.ar_date), arch)
|
||||||
!= sizeof (hdr.ar_date)))
|
!= sizeof (hdr.ar_date)))
|
||||||
{
|
{
|
||||||
/* FIXME: bfd can't call perror. */
|
bfd_perror (_("Writing updated armap timestamp"));
|
||||||
perror (_("Writing updated armap timestamp"));
|
|
||||||
|
|
||||||
/* Some error while writing. */
|
/* Some error while writing. */
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue