diff options
Diffstat (limited to 'kexec/arch/ppc/kexec-elf-ppc.c')
-rw-r--r-- | kexec/arch/ppc/kexec-elf-ppc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c index 694befb..3daca2d 100644 --- a/kexec/arch/ppc/kexec-elf-ppc.c +++ b/kexec/arch/ppc/kexec-elf-ppc.c @@ -227,8 +227,7 @@ int elf_ppc_load(int argc, char **argv, const char *buf, off_t len, 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++; |