# User Brad Beckmann <Brad.Beckmann@amd.com>
authorBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 05:51:54 +0000 (22:51 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 05:51:54 +0000 (22:51 -0700)
ruby: fixed fatal print statement

src/mem/ruby/network/Topology.cc

index 201919850c0f995cfbd6c9c3e275808d475dfffa..b92fba976dccb237241d89fb4d5b5d0de99ce4d4 100644 (file)
@@ -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