diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-24 17:46:54 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-24 17:46:54 -0400 |
commit | 6803dc0ea85ad21b2cb3ec88decff5e27d7a390b (patch) | |
tree | e4041b76ed21bd835018be3e8bbc5e2c1d76ce74 /scripts/mod/modpost.c | |
parent | 15fde6751886fd972a64ed65ba49db309919c504 (diff) |
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>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 7e226896579c..0dd16177642d 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -330,7 +330,7 @@ static void parse_elf(struct elf_info *info, const char *filename) | |||
330 | hdr = grab_file(filename, &info->size); | 330 | hdr = grab_file(filename, &info->size); |
331 | if (!hdr) { | 331 | if (!hdr) { |
332 | perror(filename); | 332 | perror(filename); |
333 | abort(); | 333 | exit(1); |
334 | } | 334 | } |
335 | info->hdr = hdr; | 335 | info->hdr = hdr; |
336 | if (info->size < sizeof(*hdr)) | 336 | if (info->size < sizeof(*hdr)) |