summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc/kexec-uImage-ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ppc/kexec-uImage-ppc.c')
-rw-r--r--kexec/arch/ppc/kexec-uImage-ppc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kexec/arch/ppc/kexec-uImage-ppc.c b/kexec/arch/ppc/kexec-uImage-ppc.c
index c4d39f2..9113fbe 100644
--- a/kexec/arch/ppc/kexec-uImage-ppc.c
+++ b/kexec/arch/ppc/kexec-uImage-ppc.c
@@ -130,8 +130,7 @@ static int ppc_load_bare_bits(int argc, char **argv, const char *buf,
case OPT_NODES:
if (cur_fixup >= FIXUP_ENTRYS) {
- fprintf(stderr, "The number of entries for the fixup is too large\n");
- exit(1);
+ die("The number of entries for the fixup is too large\n");
}
fixup_nodes[cur_fixup] = optarg;
cur_fixup++;