From 835b293d35a209d38047126443d41fa7090daa4c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 19 Jun 2017 21:20:57 +0200 Subject: Use our own variant of 'assert' and 'assert_perror'. Our variants print stack traces on failures. This will make locating errors much easier. --- term/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term/main.c') diff --git a/term/main.c b/term/main.c index be014e18..2813d528 100644 --- a/term/main.c +++ b/term/main.c @@ -232,7 +232,7 @@ parse_opt (int opt, char *arg, struct argp_state *state) bottom = &hurdio_bottom; break; default: - assert (! "impossible type"); + assert_backtrace (! "impossible type"); break; } free (tty_arg); -- cgit v1.2.3