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