aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/romlayout.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/romlayout.S b/src/romlayout.S
index 7dd597f5..7a5df0e9 100644
--- a/src/romlayout.S
+++ b/src/romlayout.S
@@ -286,7 +286,7 @@ entry_pnp_real:
movw %cx, %ds
leal BREGS_size-6+12(%esp), %eax // %eax points to start of u16 args
calll handle_pnp
- movw %ax, 12(%esp) // Modify %eax to return %ax
+ movw %ax, BREGS_eax(%esp) // Modify %eax to return %ax
POPBREGS
popfl
popl %esp