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. --- tmpfs/tmpfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfs/tmpfs.c') diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c index fd1c9aaf..28151990 100644 --- a/tmpfs/tmpfs.c +++ b/tmpfs/tmpfs.c @@ -341,7 +341,7 @@ main (int argc, char **argv) struct stat st; err = argp_parse (&startup_argp, argc, argv, ARGP_IN_ORDER, NULL, NULL); - assert_perror (err); + assert_perror_backtrace (err); task_get_bootstrap_port (mach_task_self (), &bootstrap); if (bootstrap == MACH_PORT_NULL) -- cgit v1.2.3