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 <[EMAIL PROTECTED]>
Index: kexec-tools-unstable/kexec/crashdump.c
===================================================================
--- kexec-tools-unstable.orig/kexec/crashdump.c 2006-11-17 14:50:55.000000000
+0900
+++ kexec-tools-unstable/kexec/crashdump.c 2006-11-17 14:51:12.000000000
+0900
@@ -46,8 +46,8 @@
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",
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot