syscall: Fix conversion of the stat64 buffer during system calls.

This commit is contained in:
Timothy M. Jones 2009-10-24 10:53:58 -07:00
parent c32d919bc0
commit cc21f862e2

View file

@ -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);
}