summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-06-24 23:46:54 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-24 23:46:54 +0200
commit6803dc0ea85ad21b2cb3ec88decff5e27d7a390b (patch)
treee4041b76ed21bd835018be3e8bbc5e2c1d76ce74 /scripts/genksyms
parent15fde6751886fd972a64ed65ba49db309919c504 (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_shipped2
-rw-r--r--scripts/genksyms/lex.l2
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:
break;
default:
- abort();
+ exit(1);
}
fini:
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:
break;
default:
- abort();
+ exit(1);
}
fini: