summaryrefslogtreecommitdiff
path: root/src/kern/operatingsystem.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2012-08-06 16:55:28 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2012-08-06 16:55:28 -0700
commite232152db6d9cd511a75c41f47b00befe9b7719e (patch)
treeb11c3dba3852a46a4abdd0064142f4585e9ac9e9 /src/kern/operatingsystem.cc
parentb647b48bf4d980e26b4626e94f1207ad66fc324e (diff)
downloadgem5-e232152db6d9cd511a75c41f47b00befe9b7719e.tar.xz
syscall_emul: clean up open() code a bit.
Diffstat (limited to 'src/kern/operatingsystem.cc')
-rw-r--r--src/kern/operatingsystem.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kern/operatingsystem.cc b/src/kern/operatingsystem.cc
index 62fcdba7a..ce4092c4a 100644
--- a/src/kern/operatingsystem.cc
+++ b/src/kern/operatingsystem.cc
@@ -33,9 +33,10 @@
#include "kern/operatingsystem.hh"
int
-OperatingSystem::openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc)
+OperatingSystem::openSpecialFile(std::string path, LiveProcess *process,
+ ThreadContext *tc)
{
- warn("Attempting to open special file: %s. Ignorning. Simulation may"
+ warn("Attempting to open special file: %s. Ignoring. Simulation may"
" take un-expected code path or be non-deterministic until proper"
" handling is implemented.\n", path.c_str());
return -1;