aboutsummaryrefslogtreecommitdiff
path: root/libtreefs/fsys-startup.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-06-19 21:20:57 +0200
committerJustus Winter <justus@gnupg.org>2017-08-05 18:42:22 +0200
commit835b293d35a209d38047126443d41fa7090daa4c (patch)
tree5bf956895e6030f91cd618fb191b2151f6d25423 /libtreefs/fsys-startup.c
parentdc0b5a43224999223a246870912b0f292b1980e9 (diff)
downloadhurd-835b293d35a209d38047126443d41fa7090daa4c.tar.gz
hurd-835b293d35a209d38047126443d41fa7090daa4c.tar.bz2
hurd-835b293d35a209d38047126443d41fa7090daa4c.zip
Use our own variant of 'assert' and 'assert_perror'.
Our variants print stack traces on failures. This will make locating errors much easier.
Diffstat (limited to 'libtreefs/fsys-startup.c')
-rw-r--r--libtreefs/fsys-startup.c2
1 files changed, 1 insertions, 1 deletions
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);