Return 0 on success as per documentation and due to the fact that callers don't check the value. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/qemu/qemu_agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c index bc5d57ab94..c55b989467 100644 --- a/src/qemu/qemu_agent.c +++ b/src/qemu/qemu_agent.c @@ -2406,7 +2406,7 @@ qemuAgentGetUsers(qemuAgentPtr agent, return -1; } - return ndata; + return 0; } /* Returns: 0 on success -- 2.24.1