summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-01-11 17:00:38 -0800
committerGabe Black <gabeblack@google.com>2019-01-14 21:27:19 +0000
commit8dea46f92fb70ddb8a5be81b91027a21d5dc8433 (patch)
tree972acfe6ff5b453c1f71fefa4f21038ec8652a73
parentad9a233ff9fdaadbbdebef32af242c8e3c05bfd4 (diff)
downloadgem5-8dea46f92fb70ddb8a5be81b91027a21d5dc8433.tar.xz
config: Fix an error message in Port.splice().
That error message referenced non-existent variables which were likely renamed without updating the error message. Change-Id: I6878802ef4b83e3fdf75a860d848b8c5e2e8d6c0 Reviewed-on: https://gem5-review.googlesource.com/c/15515 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r--src/python/m5/params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 483e632f5..ac712dc1f 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -1805,7 +1805,7 @@ class PortRef(object):
else:
raise TypeError, \
"Splicing non-port references '%s','%s' to port '%s'"\
- % (new_peer, peers_new_peer, self)
+ % (new_master_peer, new_slave_peer, self)
else:
fatal("Port %s not connected, cannot splice in new peers\n", self)