projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9544e8f
)
ruby: set: corrects csprintf() call introduced by 7d95b650c9b6
author
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 15 Mar 2013 21:28:08 +0000
(16:28 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 15 Mar 2013 21:28:08 +0000
(16:28 -0500)
src/mem/ruby/common/Set.cc
patch
|
blob
|
history
diff --git
a/src/mem/ruby/common/Set.cc
b/src/mem/ruby/common/Set.cc
index afa606c56289a64ce1143e15872e908f3e60a003..7ab03c5aa626947cb5f4135e123de9584abf75e9 100644
(file)
--- a/
src/mem/ruby/common/Set.cc
+++ b/
src/mem/ruby/common/Set.cc
@@
-351,11
+351,9
@@
Set::print(std::ostream& out) const
return;
}
- char buff[24];
out << "[Set (" << m_nSize << ")";
for (int i = m_nArrayLen - 1; i >= 0; i--) {
- csprintf(buff," 0x%08X", m_p_nArray[i]);
- out << buff;
+ out << csprintf(" 0x%08X", m_p_nArray[i]);
}
out << " ]";
}