stats: cleanup text output stuff and fix mysql output
[gem5.git] / src / base / hostinfo.hh
index b6663ea69133eb7835034dd8fbaed698038ac380..70cd19203c28e42b38e6c1af01062d03f075d16a 100644 (file)
@@ -37,7 +37,7 @@
 
 std::string &hostname();
 
-uint64_t procInfo(char *filename, char *target);
+uint64_t procInfo(const char *filename, const char *target);
 
 inline uint64_t memUsage()
 { return procInfo("/proc/self/status", "VmSize:"); }