* trad-core.c (trad_unix_core_file_p): Return

bfd_error_wrong_format rather than bfd_error_file_truncated.
This commit is contained in:
Alan Modra
2000-05-08 06:57:39 +00:00
parent 8181c4030f
commit b35efbcd1b
2 changed files with 4 additions and 1 deletions

View File

@@ -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