diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-05-08 06:57:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-05-08 06:57:39 +0000 |
commit | 50ec90d3f3fb4df9522364b8671ca8c33368e7d1 (patch) | |
tree | f9abe7d25ab38a2d1abe9537810621202de46088 /bfd/trad-core.c | |
parent | 7e033a90c38c33a3ffa37fbdf2a442f1e9333061 (diff) | |
download | gdb-50ec90d3f3fb4df9522364b8671ca8c33368e7d1.tar.gz |
* trad-core.c (trad_unix_core_file_p): Return
bfd_error_wrong_format rather than bfd_error_file_truncated.
Diffstat (limited to 'bfd/trad-core.c')
-rw-r--r-- | bfd/trad-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/trad-core.c b/bfd/trad-core.c index 633c53d9838..aea6366795b 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -112,7 +112,7 @@ trad_unix_core_file_p (abfd) + u.u_ssize)) > (unsigned long) statbuf.st_size) { - bfd_set_error (bfd_error_file_truncated); + bfd_set_error (bfd_error_wrong_format); return 0; } #ifndef TRAD_CORE_ALLOW_ANY_EXTRA_SIZE |