summaryrefslogtreecommitdiff
path: root/lib/ferr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ferr.c')
-rw-r--r--lib/ferr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ferr.c b/lib/ferr.c
index 2a039d2089..69aeb3db40 100644
--- a/lib/ferr.c
+++ b/lib/ferr.c
@@ -74,6 +74,7 @@ static ferr_r ferr_set_va(const char *file, int line, const char *func,
/* we're screwed */
zlog_err("out of memory while allocating error info");
raise(SIGSEGV);
+ abort(); /* raise() can return, but raise(SIGSEGV) shall not */
}
pthread_setspecific(errkey, error);