On 10/10/23 05:55, Markus Armbruster wrote:
Richard Henderson writes:
Do not rely on return value of 0 to indicate error,
pass along an Error pointer to be set.
Not wrong, but goes against error.h's recommendation
* - Whenever practical, also return a value that indicates success /
*
Richard Henderson writes:
> Do not rely on return value of 0 to indicate error,
> pass along an Error pointer to be set.
Not wrong, but goes against error.h's recommendation
* - Whenever practical, also return a value that indicates success /
* failure. This can make the error checking mor
Do not rely on return value of 0 to indicate error,
pass along an Error pointer to be set.
Signed-off-by: Richard Henderson
---
include/qemu/log.h | 2 +-
bsd-user/main.c| 6 --
linux-user/main.c | 7 +--
monitor/hmp-cmds.c | 5 +++--
softmmu/vl.c | 7 +--
util/log.c