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. --- libtreefs/fsys-startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtreefs/fsys-startup.c') diff --git a/libtreefs/fsys-startup.c b/libtreefs/fsys-startup.c index fcee3535..e2d138ba 100644 --- a/libtreefs/fsys-startup.c +++ b/libtreefs/fsys-startup.c @@ -28,7 +28,7 @@ treefs_S_fsys_startup (mach_port_t child_boot_port, mach_port_t control_port, struct port_info *child_boot = ports_check_port_type (child_boot_port, PT_TRANSBOOT); - assert (child_boot); /* XXX deal with exec server boot */ + assert_backtrace (child_boot); /* XXX deal with exec server boot */ err = fshelp_handle_fsys_startup (child_boot, control_port, real, real_type); ports_done_with_port (child_boot); -- cgit v1.2.3