summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/syscall.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/syscall.S b/boot/syscall.S
index 92912186..a04ab28d 100644
--- a/boot/syscall.S
+++ b/boot/syscall.S
@@ -26,6 +26,7 @@ ENTRY(syscall)
pop %eax
push %ecx
lcall $7, $0
+ push %ecx /* Restore stack position. */
jb error
ret
error: