diff --git a/src/debug/print_stack.c b/src/debug/print_stack.c index 3d92e3e..8ae7def 100644 --- a/src/debug/print_stack.c +++ b/src/debug/print_stack.c @@ -7,7 +7,7 @@ void print_stack(void) (struct stackframe *)__builtin_frame_address(0); while (stack) { - kprintf(0, "stack->ebp: %d\n", stack->ebp); + kprintf(0, "stack->ebp: %d\n", stack->eip); stack = stack->ebp; } }