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. --- hostmux/leaf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hostmux/leaf.c') diff --git a/hostmux/leaf.c b/hostmux/leaf.c index fb53622f..ebe9190e 100644 --- a/hostmux/leaf.c +++ b/hostmux/leaf.c @@ -27,7 +27,7 @@ error_t netfs_attempt_readlink (struct iouser *user, struct node *node, char *buf) { - assert (node->nn->name); + assert_backtrace (node->nn->name); memcpy (buf, node->nn->name->canon, node->nn_stat.st_size); fshelp_touch (&node->nn_stat, TOUCH_ATIME, hostmux_maptime); return 0; -- cgit v1.2.3