* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),

not bfd_error.
	* config/obj-elf.c (elf_frob_file): Likewise.
This commit is contained in:
Ian Lance Taylor 1994-02-22 03:49:59 +00:00
parent 9d90491e82
commit 380fa957e5

View File

@ -1939,7 +1939,7 @@ DEFUN_VOID (write_object_file)
go is up to Ken.. */
if (bfd_close_all_done (abfd) == false)
as_fatal ("Can't close %s: %s", out_file_name,
bfd_errmsg (bfd_error));
bfd_errmsg (bfd_get_error ()));
#else
{
extern bfd *stdoutput;