summaryrefslogtreecommitdiff
path: root/bfd/trad-core.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-05-08 06:57:39 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-05-08 06:57:39 +0000
commit63ba0ccdb1f659a64685cdf200f6d29301dac308 (patch)
treea0c3b229501cf1bbdd536d00f3bd206dcb40f6f8 /bfd/trad-core.c
parent2965425e2ec4c076dc4a8dcdad493e002d35ef05 (diff)
downloadbinutils-redhat-63ba0ccdb1f659a64685cdf200f6d29301dac308.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/trad-core.c b/bfd/trad-core.c
index 633c53d983..aea6366795 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