summaryrefslogtreecommitdiff
path: root/kexec/kexec-elf-core.c
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2022-03-16 16:03:05 +0530
committerSimon Horman <horms@verge.net.au>2022-03-23 15:19:21 +0100
commit1d7a308bf7349fcf1627e950159029dfccf85891 (patch)
tree8f99feb27decbcaa2d9a487d6d56d3460bc14e1c /kexec/kexec-elf-core.c
parent6effda061f75dc0ba9430c551eeaad0faf41f0ee (diff)
kexec-tools: print error if kexec_file_load fails
Commit 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error handling") introduced EFALLBACK for scenarios where fallbacking back to kexec_load syscall is likely to work and dropped printing error message for these scenarios. But printing error message for other failure scenarios was inadvertently dropped. Restore printing error message for such cases. Fixes: 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error handling") Cc: Petr Tesarik <ptesarik@suse.com> Reported-by: Nageswara R Sastry <rnsastry@linux.ibm.com> Tested-by: Nageswara R Sastry <rnsastry@linux.ibm.com> Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Reviewed-by: Petr Tesarik <ptesarik@suse.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-elf-core.c')
0 files changed, 0 insertions, 0 deletions