summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 14:38:00 +0200
committerMartin Mares <mj@ucw.cz>2000-05-08 14:38:00 +0200
commit818ff1e2b7b8eb8e707608e76ead94e5c6bd442c (patch)
treed8f762a3227d8e7be7e1e8e2cf40ccf8e371113c /sysdep/unix
parentc304392e65a3d6554e97bce00146fe5f2bcb64b1 (diff)
downloadbird-818ff1e2b7b8eb8e707608e76ead94e5c6bd442c.tar
bird-818ff1e2b7b8eb8e707608e76ead94e5c6bd442c.zip
When reporting a bug(), call abort() instead of exit(), so that we
can analyse the core.
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index fa2902e..4a4532a 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -114,7 +114,7 @@ bug(char *msg, ...)
va_start(args, msg);
vlog(L_BUG[0], msg, args);
- exit(1);
+ abort();
}
void