From 1b3b00c2a1d930fac55e2fd60297e755306c7aaf Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 10 Oct 2008 21:49:03 +0000 Subject: [PATCH] memset() returned the wrong value. Fascinatingly there's even software (APR) that uses it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27960 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/lib/arch/x86/arch_string.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/lib/arch/x86/arch_string.S b/src/system/kernel/lib/arch/x86/arch_string.S index cc24688949..62630627b2 100644 --- a/src/system/kernel/lib/arch/x86/arch_string.S +++ b/src/system/kernel/lib/arch/x86/arch_string.S @@ -106,7 +106,7 @@ FUNCTION(memset_generic): pop %edi // return value is the value passed in - mov 12(%ebp), %eax + mov 8(%ebp), %eax mov %ebp, %esp pop %ebp