diff options
Diffstat (limited to 'kexec/crashdump.c')
-rw-r--r-- | kexec/crashdump.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kexec/crashdump.c b/kexec/crashdump.c index 847d080..cdd3ef6 100644 --- a/kexec/crashdump.c +++ b/kexec/crashdump.c @@ -102,9 +102,8 @@ int get_crash_notes_per_cpu(int cpu, uint64_t *addr, uint64_t *len) die("Cannot parse %s: %s\n", crash_notes, strerror(errno)); *addr = (uint64_t) temp; *len = MAX_NOTE_BYTES; /* we should get this from the kernel instead */ -#ifdef DEBUG - printf("%s: crash_notes addr = %Lx\n", __FUNCTION__, *addr); -#endif + + dbgprintf("%s: crash_notes addr = %Lx\n", __FUNCTION__, *addr); fclose(fp); return 0; |