diff options
author | Horms <horms@verge.net.au> | 2006-11-17 16:41:33 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-11-20 10:40:18 +0900 |
commit | 93fa57c2b75b1bbfccf2e202c10e23a708c6c7e7 (patch) | |
tree | 013e2145ea5d31b001f5c0fdf9709d04a798e605 /kexec/crashdump.c | |
parent | 880d6f6a750defe4f8f8654bf4b078576b22f926 (diff) |
kexec-tools: remove bogus stderr from die() call
I introduced a stray stderr argument to one of the die() calls in
the patch to get_crash_notes_per_cpu() that I posted yesterday.
This should fix that problem.
Signed-Off-By: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.c')
-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", |