From d415aca695956c79110c88fa58c12bf55c0e2163 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 15 Jul 2016 20:51:05 +0200 Subject: Fix nasty task switching bu --- src/kernel/core/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/core/sys.c') diff --git a/src/kernel/core/sys.c b/src/kernel/core/sys.c index e852274..8cc1407 100644 --- a/src/kernel/core/sys.c +++ b/src/kernel/core/sys.c @@ -80,7 +80,7 @@ void kernel_stacktrace(uint32_t ebp, uint32_t eip) { sym = btree_lower(kernel_symbol_map, (void*)eip, &fn_ptr); } - dbg_printf("| 0x%p EIP: 0x%p %s +0x%p\n", ebp, eip, sym, ((void*)eip - fn_ptr)); + dbg_printf("| 0x%p EIP: 0x%p %s +%d\n", ebp, eip, sym, ((void*)eip - fn_ptr)); uint32_t *d = (uint32_t*)ebp; ebp = d[0]; -- cgit v1.2.3