Just return `wrong format' if file isn't recognised, in stead of

something uncivil.
This commit is contained in:
pk 1994-06-24 06:57:52 +00:00
parent 43aa830eba
commit bbdc5952bf
1 changed files with 2 additions and 2 deletions

View File

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