From b35efbcd1b5345fea4be149e365d088d68757364 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 8 May 2000 06:57:39 +0000 Subject: * trad-core.c (trad_unix_core_file_p): Return bfd_error_wrong_format rather than bfd_error_file_truncated. --- bfd/trad-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/trad-core.c') diff --git a/bfd/trad-core.c b/bfd/trad-core.c index 633c53d..aea6366 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 -- cgit v1.1