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. --- isofs/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'isofs/main.c') diff --git a/isofs/main.c b/isofs/main.c index c07cf3ff..db16e2a1 100644 --- a/isofs/main.c +++ b/isofs/main.c @@ -57,11 +57,11 @@ fetch_root () rrip_lookup (ctx.dr, &ctx.rr, 1); err = cache_id (ctx.dr, &ctx.rr, &id); - assert_perror (err); + assert_perror_backtrace (err); /* And fetch the node. */ err = diskfs_cached_lookup_context (id, &diskfs_root_node, &ctx); - assert_perror (err); + assert_perror_backtrace (err); pthread_mutex_unlock (&diskfs_root_node->lock); } -- cgit v1.2.3