summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/vmpa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/vmpa.c b/src/arch/vmpa.c
index 297a0ca..aa97eba 100644
--- a/src/arch/vmpa.c
+++ b/src/arch/vmpa.c
@@ -368,7 +368,7 @@ char *vmpa2_phys_to_string(const vmpa2t *addr, MemoryDataSize msize, char buffer
break;
default:
- ret = snprintf(buffer, VMPA_MAX_SIZE, "???");
+ ret = snprintf(buffer, VMPA_MAX_SIZE, "0x%" PRIx64, addr->physical);
break;
}
@@ -419,7 +419,7 @@ char *vmpa2_virt_to_string(const vmpa2t *addr, MemoryDataSize msize, char buffer
break;
default:
- ret = snprintf(buffer, VMPA_MAX_SIZE, "???");
+ ret = snprintf(buffer, VMPA_MAX_SIZE, "0x%" PRIx64, addr->virtual);
break;
}