about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/internal/i386/syscall.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/i386/syscall.s b/src/internal/i386/syscall.s
index 291168c3..2914acee 100644
--- a/src/internal/i386/syscall.s
+++ b/src/internal/i386/syscall.s
@@ -16,7 +16,8 @@ __vsyscall:
 	mov 12(%esp),%edi
 	push %eax
 	call 1f
-2:	pop %ebx
+2:	mov %ebx,%edx
+	pop %ebx
 	pop %ebx
 	pop %edi
 	ret