aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core/sys.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 20:51:05 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 20:51:05 +0200
commitd415aca695956c79110c88fa58c12bf55c0e2163 (patch)
tree61c9589fe1cf1a78f7f582eff410e047eada604e /src/kernel/core/sys.c
parent327d62f7d56f79999cac6407bdfdcc0b90510aef (diff)
downloadkogata-d415aca695956c79110c88fa58c12bf55c0e2163.tar.gz
kogata-d415aca695956c79110c88fa58c12bf55c0e2163.zip
Fix nasty task switching bu
Diffstat (limited to 'src/kernel/core/sys.c')
-rw-r--r--src/kernel/core/sys.c2
1 files changed, 1 insertions, 1 deletions
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];