contrib/elf2dmp: Fix error reporting style in addrspace.c
commita15f9749490e8d813b8929c69a7365e3edc6ab8c
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 7 Mar 2024 10:20:48 +0000 (7 19:20 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Mar 2024 17:06:06 +0000 (11 17:06 +0000)
tree4e6ec10afdf1275dabb99aa486a1d4a6b1785431
parent262a0ff88029e86b29434d4b2e7f710ae73b646c
contrib/elf2dmp: Fix error reporting style in addrspace.c

include/qapi/error.h says:
> We recommend
> * bool-valued functions return true on success / false on failure,
> ...

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240307-elf2dmp-v4-5-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/addrspace.c
contrib/elf2dmp/addrspace.h
contrib/elf2dmp/main.c