diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 14:38:00 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 14:38:00 +0200 |
commit | 818ff1e2b7b8eb8e707608e76ead94e5c6bd442c (patch) | |
tree | d8f762a3227d8e7be7e1e8e2cf40ccf8e371113c /sysdep | |
parent | c304392e65a3d6554e97bce00146fe5f2bcb64b1 (diff) | |
download | bird-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')
-rw-r--r-- | sysdep/unix/log.c | 2 |
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 |