diff --git a/gnu/usr.bin/gdb/bfd/trad-core.c b/gnu/usr.bin/gdb/bfd/trad-core.c index e776c5f083a8..cca85a9f5f86 100644 --- a/gnu/usr.bin/gdb/bfd/trad-core.c +++ b/gnu/usr.bin/gdb/bfd/trad-core.c @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: trad-core.c,v 1.2 1994/05/19 15:55:35 pk Exp $ + $Id: trad-core.c,v 1.3 1994/06/24 06:57:52 pk Exp $ */ /* To use this file on a particular host, configure the host with these @@ -122,7 +122,7 @@ trad_unix_core_file_p (abfd) } if (NBPG * (UPAGES + u.u_dsize + u.u_ssize) > statbuf.st_size) { - bfd_error = file_truncated; + bfd_error = wrong_format; return 0; } if (NBPG * (UPAGES + u.u_dsize + u.u_ssize)