diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2009-01-30 20:04:15 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2009-01-30 20:04:15 -0500 |
commit | f4291aac256622546a5a51dce109599007f5b3cb (patch) | |
tree | b40cdfa74233584291953ec236ff20aaf159a1fb /src/python/m5/params.py | |
parent | 35a85a4e86143c5bf23d5b74c14856792a0a624c (diff) | |
download | gem5-f4291aac256622546a5a51dce109599007f5b3cb.tar.xz |
Errors: Print a URL with a hash of the format string to find more information about an error.
Diffstat (limited to 'src/python/m5/params.py')
-rw-r--r-- | src/python/m5/params.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 081bd342e..18eeac0d1 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -327,8 +327,8 @@ class CheckedIntType(MetaParamValue): if not (hasattr(cls, 'min') and hasattr(cls, 'max')): if not (hasattr(cls, 'size') and hasattr(cls, 'unsigned')): panic("CheckedInt subclass %s must define either\n" \ - " 'min' and 'max' or 'size' and 'unsigned'\n" \ - % name); + " 'min' and 'max' or 'size' and 'unsigned'\n", + name); if cls.unsigned: cls.min = 0 cls.max = 2 ** cls.size - 1 |