aboutsummaryrefslogtreecommitdiff
path: root/isofs/main.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-06-19 21:20:57 +0200
committerJustus Winter <justus@gnupg.org>2017-08-05 18:42:22 +0200
commit835b293d35a209d38047126443d41fa7090daa4c (patch)
tree5bf956895e6030f91cd618fb191b2151f6d25423 /isofs/main.c
parentdc0b5a43224999223a246870912b0f292b1980e9 (diff)
downloadhurd-835b293d35a209d38047126443d41fa7090daa4c.tar.gz
hurd-835b293d35a209d38047126443d41fa7090daa4c.tar.bz2
hurd-835b293d35a209d38047126443d41fa7090daa4c.zip
Use our own variant of 'assert' and 'assert_perror'.
Our variants print stack traces on failures. This will make locating errors much easier.
Diffstat (limited to 'isofs/main.c')
-rw-r--r--isofs/main.c4
1 files changed, 2 insertions, 2 deletions
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);
}