From: Zhizhou Zhang <zhizhouzhang@xxxxxxxxxxxx> kernel defines VMCOREINFO_NUMBER as follow. so we should use atol rather than htol to get value of kimage_voffset. #define VMCOREINFO_NUMBER(name) \ vmcoreinfo_append_str("NUMBER(%s)=%ld\n", #name, (long)name) Signed-off-by: Zhizhou Zhang <zhizhouzhang@xxxxxxxxxxxx> --- arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm64.c b/arm64.c index 6eaf96d..f79f0a5 100644 --- a/arm64.c +++ b/arm64.c @@ -119,7 +119,7 @@ arm64_init(int when) if (!ms->kimage_voffset && (string = pc->read_vmcoreinfo("NUMBER(kimage_voffset)"))) { - ms->kimage_voffset = htol(string, QUIET, NULL); + ms->kimage_voffset = atol(string); free(string); } -- 1.9.1 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility