summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astartup.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/astartup.asm b/astartup.asm
index 4690725..5967db2 100644
--- a/astartup.asm
+++ b/astartup.asm
@@ -3017,10 +3017,11 @@ IO_error:
mov rbp,rsp
and rsp,-16
- mov rbx,rcx
ifdef LINUX
+ mov rbx,rdi
lea rdi,IO_error_string
else
+ mov rbx,rcx
sub rsp,32
lea rcx,IO_error_string
endif