stats: fix text printout for distributions
authorNathan Binkert <nate@binkert.org>
Mon, 23 Feb 2009 20:04:50 +0000 (12:04 -0800)
committerNathan Binkert <nate@binkert.org>
Mon, 23 Feb 2009 20:04:50 +0000 (12:04 -0800)
src/base/stats/text.cc

index 84336f5e4f4df3463fa370e3c079803def50a1d9..00efd977be3989e22be88daa91ad75ba245d95e3 100644 (file)
@@ -450,7 +450,7 @@ DistPrint::operator()(ostream &stream) const
     if (!compat) {
         for (off_type i = 0; i < size; ++i) {
             stringstream namestr;
-            namestr << name;
+            namestr << base;
 
             Counter low = i * bucket_size + min;
             Counter high = ::min(low + bucket_size, max);