diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/ruby/common/Set.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/ruby/common/Set.cc b/src/mem/ruby/common/Set.cc index afa606c56..7ab03c5aa 100644 --- 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 << " ]"; } |