summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-02-15 21:23:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-02-15 21:23:44 (GMT)
commitd93d67a2408fd5c09e73b40fdbd28d4914254a90 (patch)
tree7e0d34fb22a91aefc266a1b0d53ec9d36d765c40 /plugins/pychrysalide/arch
parentc3bfa0437f9671b0896d89abd197eaa34fdefc1f (diff)
Fixed the string representation for the Vmpa type in Python.
Diffstat (limited to 'plugins/pychrysalide/arch')
-rw-r--r--plugins/pychrysalide/arch/vmpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/arch/vmpa.c b/plugins/pychrysalide/arch/vmpa.c
index 41fb1ad..39b5cef 100644
--- a/plugins/pychrysalide/arch/vmpa.c
+++ b/plugins/pychrysalide/arch/vmpa.c
@@ -174,7 +174,7 @@ static PyObject *py_vmpa_to_str(PyObject *obj)
virtual = get_virt_addr(addr);
vmpa2_phys_to_string(addr, MDS_UNDEFINED, phys_str, NULL);
- vmpa2_phys_to_string(addr, MDS_UNDEFINED, virt_str, NULL);
+ vmpa2_virt_to_string(addr, MDS_UNDEFINED, virt_str, NULL);
if (physical == VMPA_NO_PHYSICAL && virtual == VMPA_NO_VIRTUAL)
result = PyUnicode_FromFormat("<phy=None, virt=None>");