From: Timothy M. Jones Date: Sat, 24 Oct 2009 17:53:58 +0000 (-0700) Subject: syscall: Fix conversion of the stat64 buffer during system calls. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc21f862e2d6ad6ba8d5332d6bbc05e58e55bfa0;p=gem5.git syscall: Fix conversion of the stat64 buffer during system calls. --- 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 tgt_stat_buf; tgt_stat_buf tgt(addr); - convertStatBuf(tgt, host, fakeTTY); + convertStat64Buf(tgt, host, fakeTTY); tgt.copyOut(mem); }