aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-17 21:50:39 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-17 21:50:39 +0000
commita243926667c3990d80dc307291d37aad327c4d78 (patch)
treeff6bfa99e276560d0635c1237463a410054ba69b /bfd/elfcode.h
parent5e65fbc84bb16a38fce7ac6fcd5786795437d65a (diff)
downloadgdb-a243926667c3990d80dc307291d37aad327c4d78.zip
gdb-a243926667c3990d80dc307291d37aad327c4d78.tar.gz
gdb-a243926667c3990d80dc307291d37aad327c4d78.tar.bz2
Use bfd_set_error in last patch.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 33ba86a..fa5ee73 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. */