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)
downloadop-kernel-dev-6803dc0ea85ad21b2cb3ec88decff5e27d7a390b.zip
op-kernel-dev-6803dc0ea85ad21b2cb3ec88decff5e27d7a390b.tar.gz
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 1218053..37ba982 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 fe0dfee..5e544a0 100644
--- a/scripts/genksyms/lex.l
+++ b/scripts/genksyms/lex.l
@@ -392,7 +392,7 @@ repeat:
break;
default:
- abort();
+ exit(1);
}
fini:
OpenPOWER on IntegriCloud