From a243926667c3990d80dc307291d37aad327c4d78 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 17 Feb 1994 21:50:39 +0000 Subject: [PATCH] Use bfd_set_error in last patch. --- bfd/elfcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 33ba86a4153..fa5ee7332ad 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2621,7 +2621,7 @@ DEFUN (elf_slurp_symbol_table, (abfd, symptrs), if (bfd_read ((PTR) x_symp, sizeof (Elf_External_Sym), symcount, abfd) != symcount * sizeof (Elf_External_Sym)) { - bfd_error = system_call_error; + bfd_set_error (bfd_error_system_call); return false; } /* Skip first symbol, which is a null dummy. */ -- 2.30.2