diff options
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index bf7669cdf..95a7f9998 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -678,9 +678,9 @@ I386LiveProcess::argsInit(int intSize, int pageSize) } void -X86LiveProcess::setSyscallReturn(ThreadContext *tc, SyscallReturn return_value) +X86LiveProcess::setSyscallReturn(ThreadContext *tc, SyscallReturn retval) { - tc->setIntReg(INTREG_RAX, return_value.value()); + tc->setIntReg(INTREG_RAX, retval.encodedValue()); } X86ISA::IntReg |