summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2012-07-10 22:51:54 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2012-07-10 22:51:54 -0700
commit645fa9c2624bc497008f9fb18645e5184615048f (patch)
tree34fdd1847196d277daae0a23d9bd895b745da8dc /src/mem
parent6f9bd33b73428709b534d2c4a2b8246557be2397 (diff)
downloadgem5-645fa9c2624bc497008f9fb18645e5184615048f.tar.xz
# User Brad Beckmann <Brad.Beckmann@amd.com>
ruby: fixed fatal print statement
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/network/Topology.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/Topology.cc b/src/mem/ruby/network/Topology.cc
index 201919850..b92fba976 100644
--- a/src/mem/ruby/network/Topology.cc
+++ b/src/mem/ruby/network/Topology.cc
@@ -79,7 +79,7 @@ Topology::Topology(const Params *p)
if (m_nodes != params()->ext_links.size() &&
m_nodes != params()->ext_links.size()) {
fatal("m_nodes (%d) != ext_links vector length (%d)\n",
- m_nodes != params()->ext_links.size());
+ m_nodes, params()->ext_links.size());
}
// analyze both the internal and external links, create data structures