diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2005-09-12 16:09:58 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2005-09-12 16:09:58 -0400 |
commit | 00a2e4a1203e8d39290e917e505ecd1d2a597b5c (patch) | |
tree | de5e668964b7ce4f99d6feeb4ecb1fd5af9db6e7 | |
parent | 4aa6805949a262394f59a9d17fcd30573674ea61 (diff) | |
parent | 332f1848240f2c557476b21e993d8b3910f32db5 (diff) | |
download | gem5-00a2e4a1203e8d39290e917e505ecd1d2a597b5c.tar.xz |
Merge zizzer:/bk/m5
into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : 792c2993791fdce6170c7b875fc6510c74faae65
-rw-r--r-- | base/hostinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/hostinfo.cc b/base/hostinfo.cc index df9bd0d29..d15e3ddc1 100644 --- a/base/hostinfo.cc +++ b/base/hostinfo.cc @@ -70,7 +70,7 @@ procInfo(char *filename, char *target) while (fp && !feof(fp) && !done) { if (fgets(line, 80, fp)) { if (strncmp(line, target, strlen(target)) == 0) { - snprintf(format, sizeof(format), "%s %%lld", target); + snprintf(format, sizeof(format), "%s %%ld", target); sscanf(line, format, &usage); fclose(fp); |