summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/m5/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index 754b18525..a281feccc 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -405,7 +405,7 @@ class SimObject(object):
if found_obj != None and child != found_obj:
raise AttributeError, \
'parent.any matched more than one: %s %s' % \
- (obj.path, child.path)
+ (found_obj.path, child.path)
found_obj = child
# search param space
for pname,pdesc in self._params.iteritems():