kbuild: replace abort() with exit(1)

We have had no use of the coredump file for a long time.
So just exit(1) and avoid coredumping.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Sam Ravnborg
2006-06-24 23:46:54 +02:00
parent 15fde67518
commit 6803dc0ea8
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ static void parse_elf(struct elf_info *info, const char *filename)
hdr = grab_file(filename, &info->size);
if (!hdr) {
perror(filename);
abort();
exit(1);
}
info->hdr = hdr;
if (info->size < sizeof(*hdr))