diff options
-rw-r--r-- | kexec/crashdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/crashdump.c b/kexec/crashdump.c index 43326d2..e987b16 100644 --- a/kexec/crashdump.c +++ b/kexec/crashdump.c @@ -46,8 +46,8 @@ int get_crash_notes_per_cpu(int cpu, uint64_t *addr) if (!fp) { fopen_errno = errno; if (fopen_errno != ENOENT) - die(stderr, "Could not open \"%s\": %s\n", - crash_notes, strerror(fopen_errno)); + die("Could not open \"%s\": %s\n", crash_notes, + strerror(fopen_errno)); if (!stat("/sys/devices", &cpu_stat)) { stat_errno = errno; fprintf(stderr, "Could not open \"%s\": %s\n", |