linux: vmcoreinfo plugin: simplify hex conversion

This commit is contained in:
Gustavo Moreira
2025-01-30 18:48:42 +11:00
parent f6a22eed05
commit 8b6c00e64f
@@ -39,7 +39,7 @@ class VMCoreInfo(plugins.PluginInterface):
):
for key, value in vmcoreinfo.items():
if key.startswith("SYMBOL(") or key == "KERNELOFFSET":
value = f"0x{value:x}"
value = hex(value)
else:
value = str(value)