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. --- pflocal/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pflocal/io.c') diff --git a/pflocal/io.c b/pflocal/io.c index c5622746..77e9df6e 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -442,7 +442,7 @@ S_io_reauthenticate (struct sock_user *user, mach_port_t rendezvous) auth_server = getauth (); err = mach_port_insert_right (mach_task_self (), new_user_port, new_user_port, MACH_MSG_TYPE_MAKE_SEND); - assert_perror (err); + assert_perror_backtrace (err); do err = auth_server_authenticate (auth_server, -- cgit v1.2.3