diff options
author | Brandon Potter <brandon.potter@amd.com> | 2015-04-22 07:51:27 -0700 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2015-04-22 07:51:27 -0700 |
commit | 9c6509f19830300aa1eea8e63e6657bdf1cccc53 (patch) | |
tree | 9f23029bde719c4bf7e24a24f2e41ebf85ea34c9 /src/sim | |
parent | 6ad29ba6df5b1705747f9292b4bcf9e0c91090a4 (diff) | |
download | gem5-9c6509f19830300aa1eea8e63e6657bdf1cccc53.tar.xz |
syscall_emul: fix warning with wrong syscall name
Also nix extra whitespace.
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/syscall_emul.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index cc430b949..3b584260f 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -707,7 +707,7 @@ sysinfoFunc(SyscallDesc *desc, int callnum, LiveProcess *process, int index = 0; TypedBufferArg<typename OS::tgt_sysinfo> - sysinfo(process->getSyscallArg(tc, index)); + sysinfo(process->getSyscallArg(tc, index)); sysinfo->uptime=seconds_since_epoch; sysinfo->totalram=process->system->memSize(); @@ -915,7 +915,7 @@ fstatat64Func(SyscallDesc *desc, int callnum, LiveProcess *process, int index = 0; int dirfd = process->getSyscallArg(tc, index); if (dirfd != OS::TGT_AT_FDCWD) - warn("openat: first argument not AT_FDCWD; unlikely to work"); + warn("fstatat64: first argument not AT_FDCWD; unlikely to work"); std::string path; if (!tc->getMemProxy().tryReadString(path, |