linux-user/elfload: Use Error for load_elf_interp
commit808f656318109dfcb1c662002b0ebcb77d08c35a
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Oct 2020 17:37:46 +0000 (21 10:37 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Oct 2020 10:44:02 +0000 (27 10:44 +0000)
treeac33e26a2b0082da39bf7abc55523846f33687e9
parentc7f17e7bd744dceff5708346d7c28ea2a08b7c18
linux-user/elfload: Use Error for load_elf_interp

This is slightly clearer than just using strerror, though
the different forms produced by error_setg_file_open and
error_setg_errno isn't entirely convenient.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201021173749.111103-10-richard.henderson@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/elfload.c