summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-09-01 09:35:48 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-09-01 09:35:48 -0500
commit849bad7ad7c8b483d02b317e7f6ecf0c1292a48d (patch)
tree28fdc3bb5fcd3f998df8aaa382beee359116d182 /src
parent15aa18057030e00535b6c6df7649f73e6b794d50 (diff)
downloadgem5-849bad7ad7c8b483d02b317e7f6ecf0c1292a48d.tar.xz
ruby: fixed config assertion failure
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/config/cfg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb
index 445bb4885..16d658a4c 100644
--- a/src/mem/ruby/config/cfg.rb
+++ b/src/mem/ruby/config/cfg.rb
@@ -11,7 +11,7 @@ end
def assert(condition,message)
unless condition
- raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n"
+ raise AssertionFailure.new(message), "\n\nAssertion failed: \n\n #{message}\n\n"
end
end