Fix x86-64 build.

This commit is contained in:
Rene Gollent 2013-05-05 16:57:51 -04:00
parent 1b10489347
commit 1b17f7ab00
1 changed files with 2 additions and 2 deletions

View File

@ -253,10 +253,10 @@ FUNCTION(arch_cpu_user_strlcpy):
not %rcx
# %rcx was 0 and is now max
xor %al, %al
movl %rsi, %rdi
movq %rsi, %rdi
repnz
scasb
movl %rdi, %rsi
movq %rdi, %rsi
.L_user_strlcpy_source_done:
// Restore the old fault handler