changeset 0a4ec71cfddd in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0a4ec71cfddd
description:
        syscall_emul: fix warning with wrong syscall name
        Also nix extra whitespace.

diffstat:

 src/sim/syscall_emul.hh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 11e66ec059c6 -r 0a4ec71cfddd src/sim/syscall_emul.hh
--- a/src/sim/syscall_emul.hh   Wed Apr 22 07:51:27 2015 -0700
+++ b/src/sim/syscall_emul.hh   Wed Apr 22 07:51:27 2015 -0700
@@ -707,7 +707,7 @@
 
     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 @@
     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,
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to