summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-07-23 16:36:55 -0400
committerQuentin Carbonneaux2014-07-23 16:36:55 -0400
commit755d0c1460f72c31cd5f08ad8b740376a8fc2725 (patch)
tree098c8cee73ff7edef850948f33dc4fda877795a3
parente001881be117cd92d13a8e6ba80a69f5d02517f0 (diff)
use abort in die to trap in gdb
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b6d8d48..d957f07 100644
--- a/main.c
+++ b/main.c
@@ -20,7 +20,7 @@ void
die(char *m)
{
fprintf(stderr, "dying, %s\n", m);
- exit(1);
+ abort();
}
static int