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/genksyms | |
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/genksyms')
-rw-r--r-- | scripts/genksyms/lex.c_shipped | 2 | ||||
-rw-r--r-- | scripts/genksyms/lex.l | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genksyms/lex.c_shipped b/scripts/genksyms/lex.c_shipped index 1218053ee96..37ba98241b9 100644 --- a/scripts/genksyms/lex.c_shipped +++ b/scripts/genksyms/lex.c_shipped | |||
@@ -2023,7 +2023,7 @@ repeat: | |||
2023 | break; | 2023 | break; |
2024 | 2024 | ||
2025 | default: | 2025 | default: |
2026 | abort(); | 2026 | exit(1); |
2027 | } | 2027 | } |
2028 | fini: | 2028 | fini: |
2029 | 2029 | ||
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index fe0dfeedf0f..5e544a06678 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l | |||
@@ -392,7 +392,7 @@ repeat: | |||
392 | break; | 392 | break; |
393 | 393 | ||
394 | default: | 394 | default: |
395 | abort(); | 395 | exit(1); |
396 | } | 396 | } |
397 | fini: | 397 | fini: |
398 | 398 | ||