aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/src/boot/boot32.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/boot/boot32.S b/arch/x86_64/src/boot/boot32.S
index cea1607..0e164e2 100644
--- a/arch/x86_64/src/boot/boot32.S
+++ b/arch/x86_64/src/boot/boot32.S
@@ -211,8 +211,8 @@ _panic:
push $0x4f
call _print
- mov 16(%ebp), %eax
- mov %eax, 8(%ebp)
+ mov 8(%ebp), %eax
+ mov %eax, 4(%esp)
call _print
add $8, %esp