ruby: more helpful config error message
authorDerek Hower <drh5@cs.wisc.edu>
Fri, 25 Sep 2009 22:51:12 +0000 (17:51 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Fri, 25 Sep 2009 22:51:12 +0000 (17:51 -0500)
src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb

index 1476ce34b79af9e6cb258b526d38bb00afc9074f..c3c92bd9de96c46a364fa9433f7ab989df8680a2 100644 (file)
@@ -57,7 +57,7 @@ end
 net_ports = Array.new
 iface_ports = Array.new
 
-assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol #{protocol}");
+assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol '#{protocol}'");
 
 require protocol+".rb"