summaryrefslogtreecommitdiff
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 12:38:00 +0000
committerMartin Mares <mj@ucw.cz>2000-05-08 12:38:00 +0000
commit818ff1e2b7b8eb8e707608e76ead94e5c6bd442c (patch)
treed8f762a3227d8e7be7e1e8e2cf40ccf8e371113c /sysdep/unix/log.c
parentc304392e65a3d6554e97bce00146fe5f2bcb64b1 (diff)
When reporting a bug(), call abort() instead of exit(), so that we
can analyse the core.
Diffstat (limited to 'sysdep/unix/log.c')
-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 fa2902e6..4a4532af 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