syscall_emul: fix warning with wrong syscall name
Also nix extra whitespace.
This commit is contained in:
parent
6ad29ba6df
commit
9c6509f198
1 changed files with 2 additions and 2 deletions
|
@ -707,7 +707,7 @@ sysinfoFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
TypedBufferArg<typename OS::tgt_sysinfo>
|
TypedBufferArg<typename OS::tgt_sysinfo>
|
||||||
sysinfo(process->getSyscallArg(tc, index));
|
sysinfo(process->getSyscallArg(tc, index));
|
||||||
|
|
||||||
sysinfo->uptime=seconds_since_epoch;
|
sysinfo->uptime=seconds_since_epoch;
|
||||||
sysinfo->totalram=process->system->memSize();
|
sysinfo->totalram=process->system->memSize();
|
||||||
|
@ -915,7 +915,7 @@ fstatat64Func(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
int index = 0;
|
int index = 0;
|
||||||
int dirfd = process->getSyscallArg(tc, index);
|
int dirfd = process->getSyscallArg(tc, index);
|
||||||
if (dirfd != OS::TGT_AT_FDCWD)
|
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;
|
std::string path;
|
||||||
if (!tc->getMemProxy().tryReadString(path,
|
if (!tc->getMemProxy().tryReadString(path,
|
||||||
|
|
Loading…
Reference in a new issue