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. --- usermux/leaf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usermux/leaf.c') diff --git a/usermux/leaf.c b/usermux/leaf.c index 7f41b187..ba7fa270 100644 --- a/usermux/leaf.c +++ b/usermux/leaf.c @@ -30,7 +30,7 @@ error_t netfs_attempt_readlink (struct iouser *user, struct node *node, char *buf) { - assert (node->nn->name); + assert_backtrace (node->nn->name); /* For symlink nodes, the translator spec just contains the link target. */ memcpy (buf, node->nn->trans, node->nn->trans_len); fshelp_touch (&node->nn_stat, TOUCH_ATIME, usermux_maptime); -- cgit v1.2.3