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. --- storeio/pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'storeio/pager.c') diff --git a/storeio/pager.c b/storeio/pager.c index 54b17142..12387939 100644 --- a/storeio/pager.c +++ b/storeio/pager.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include @@ -115,7 +115,7 @@ void pager_notify_evict (struct user_pager_info *pager, vm_offset_t page) { - assert (!"unrequested notification on eviction"); + assert_backtrace (!"unrequested notification on eviction"); } /* The user must define this function. It should report back (in -- cgit v1.2.3