syscall_emul: fix warning with wrong syscall name
authorBrandon Potter <brandon.potter@amd.com>
Wed, 22 Apr 2015 14:51:27 +0000 (07:51 -0700)
committerBrandon Potter <brandon.potter@amd.com>
Wed, 22 Apr 2015 14:51:27 +0000 (07:51 -0700)
Also nix extra whitespace.

src/sim/syscall_emul.hh

index cc430b9492b1c881219f613077887e5bed856594..3b584260faffbf699828aff3163329dfafa542a0 100644 (file)
@@ -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,