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. --- sutils/bless.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sutils/bless.c') diff --git a/sutils/bless.c b/sutils/bless.c index 039320ab..4b272adc 100644 --- a/sutils/bless.c +++ b/sutils/bless.c @@ -18,7 +18,7 @@ along with the GNU Hurd. If not, see . */ #include -#include +#include #include #include #include @@ -90,7 +90,7 @@ main (int argc, char **argv) error (1, err, "Could not mark process as important"); err = mach_port_deallocate (mach_task_self (), proc); - assert_perror (err); + assert_perror_backtrace (err); return EXIT_SUCCESS; } -- cgit v1.2.3