projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd55a1c
)
hostinfo.cc:
author
Erik Hallnor
<ehallnor@umich.edu>
Tue, 14 Oct 2003 17:29:12 +0000
(13:29 -0400)
committer
Erik Hallnor
<ehallnor@umich.edu>
Tue, 14 Oct 2003 17:29:12 +0000
(13:29 -0400)
Trial fix, uint64_T > long
base/hostinfo.cc:
Trial fix, uint64_T > long
--HG--
extra : convert_revision :
cc039420980f1bf29074a20ccea3b9a3afe99f22
base/hostinfo.cc
patch
|
blob
|
history
diff --git
a/base/hostinfo.cc
b/base/hostinfo.cc
index b530ae23750ab3d74c60388d870e7a14573fc95b..3213bce21ff976b9a08186af72fc482e8e23db15 100644
(file)
--- a/
base/hostinfo.cc
+++ b/
base/hostinfo.cc
@@
-42,7
+42,7
@@
procInfo(char *filename, char *target)
int done = 0;
char line[80];
char format[80];
-
uint64_t
usage;
+
long
usage;
FILE *fp = fopen(filename, "r");