summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-02-17 03:40:17 -0500
committerNathan Binkert <binkertn@umich.edu>2005-02-17 03:40:17 -0500
commitcfe6ed7c484b62d07bae23c528f0e2e568cf0d65 (patch)
treee6f656eb44599fc96c1d06b41d791bf1885b7ee6 /sim
parent5de3bba7589cc5c084af8e688a46f1b32566522f (diff)
downloadgem5-cfe6ed7c484b62d07bae23c528f0e2e568cf0d65.tar.xz
Fix compile on linux
sim/main.cc: For some unknown reason linux's basename doesn't take a const char * --HG-- extra : convert_revision : 30289195881e16a05429f7025abab7914a9e3eb6
Diffstat (limited to 'sim')
-rw-r--r--sim/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/main.cc b/sim/main.cc
index d4c31d5f2..891931c2b 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -108,7 +108,7 @@ abortHandler(int sigtype)
}
/// Simulator executable name
-const char *myProgName = "";
+char *myProgName = "";
/// Show brief help message.
void