syscall: Fix conversion of the stat64 buffer during system calls.
authorTimothy M. Jones <tjones1@inf.ed.ac.uk>
Sat, 24 Oct 2009 17:53:58 +0000 (10:53 -0700)
committerTimothy M. Jones <tjones1@inf.ed.ac.uk>
Sat, 24 Oct 2009 17:53:58 +0000 (10:53 -0700)
src/sim/syscall_emul.hh

index f5e8a02e5c5195f6aeb5d4c0701afb793b022ac4..21f8201c8d5f0231aeaa0f3d500fe5012079803e 100644 (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);
 }