diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-02-17 21:50:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-02-17 21:50:39 +0000 |
commit | a243926667c3990d80dc307291d37aad327c4d78 (patch) | |
tree | ff6bfa99e276560d0635c1237463a410054ba69b | |
parent | 5e65fbc84bb16a38fce7ac6fcd5786795437d65a (diff) | |
download | gdb-a243926667c3990d80dc307291d37aad327c4d78.zip gdb-a243926667c3990d80dc307291d37aad327c4d78.tar.gz gdb-a243926667c3990d80dc307291d37aad327c4d78.tar.bz2 |
Use bfd_set_error in last patch.
-rw-r--r-- | bfd/elfcode.h | 2 |
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. */ |