diff options
Diffstat (limited to 'sim/process.cc')
-rw-r--r-- | sim/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/process.cc b/sim/process.cc index 851192dcd..f02ca8bfd 100644 --- a/sim/process.cc +++ b/sim/process.cc @@ -357,7 +357,7 @@ LiveProcess::syscall(ExecContext *xc) { num_syscalls++; - int64_t callnum = xc->readIntReg(ReturnValueReg); + int64_t callnum = xc->readIntReg(SyscallNumReg); SyscallDesc *desc = getDesc(callnum); if (desc == NULL) |