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. --- procfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procfs/main.c') diff --git a/procfs/main.c b/procfs/main.c index 87c726ff..0c87175a 100644 --- a/procfs/main.c +++ b/procfs/main.c @@ -314,6 +314,6 @@ int main (int argc, char **argv) netfs_startup (bootstrap, 0); netfs_server_loop (); - assert (0 /* netfs_server_loop returned after all */); + assert_backtrace (0 /* netfs_server_loop returned after all */); } -- cgit v1.2.3