summaryrefslogtreecommitdiff
path: root/kexec/crashdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/crashdump.c')
-rw-r--r--kexec/crashdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/crashdump.c b/kexec/crashdump.c
index cdd3ef6..70817b8 100644
--- a/kexec/crashdump.c
+++ b/kexec/crashdump.c
@@ -103,7 +103,8 @@ int get_crash_notes_per_cpu(int cpu, uint64_t *addr, uint64_t *len)
*addr = (uint64_t) temp;
*len = MAX_NOTE_BYTES; /* we should get this from the kernel instead */
- dbgprintf("%s: crash_notes addr = %Lx\n", __FUNCTION__, *addr);
+ dbgprintf("%s: crash_notes addr = %Lx\n", __FUNCTION__,
+ (unsigned long long)*addr);
fclose(fp);
return 0;