summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimothy M. Jones <tjones1@inf.ed.ac.uk>2009-10-24 10:53:58 -0700
committerTimothy M. Jones <tjones1@inf.ed.ac.uk>2009-10-24 10:53:58 -0700
commitcc21f862e2d6ad6ba8d5332d6bbc05e58e55bfa0 (patch)
treee1d58aa3e62c84cd674304a314949d9ba4528761 /src
parentc32d919bc07d87e5fc59d98cb58e9143182c1aef (diff)
downloadgem5-cc21f862e2d6ad6ba8d5332d6bbc05e58e55bfa0.tar.xz
syscall: Fix conversion of the stat64 buffer during system calls.
Diffstat (limited to 'src')
-rw-r--r--src/sim/syscall_emul.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index f5e8a02e5..21f8201c8 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -469,7 +469,7 @@ copyOutStat64Buf(TranslatingPort * mem, Addr addr,
{
typedef TypedBufferArg<typename OS::tgt_stat64> tgt_stat_buf;
tgt_stat_buf tgt(addr);
- convertStatBuf<tgt_stat_buf, hst_stat64>(tgt, host, fakeTTY);
+ convertStat64Buf<tgt_stat_buf, hst_stat64>(tgt, host, fakeTTY);
tgt.copyOut(mem);
}