summaryrefslogtreecommitdiff
path: root/src/sim/vptr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/vptr.hh')
-rw-r--r--src/sim/vptr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/vptr.hh b/src/sim/vptr.hh
index 383f65351..88b515c13 100644
--- a/src/sim/vptr.hh
+++ b/src/sim/vptr.hh
@@ -71,7 +71,7 @@ class VPtr
if (!ptr)
return;
- VirtualPort *port = tc->getVirtPort(tc);
+ VirtualPort *port = tc->getVirtPort();
port->readBlob(ptr, buffer, sizeof(T));
tc->delVirtPort(port);
}