mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
qemuAgentGetUsers: Fix return value on success
Return 0 on success to match the documentation. The callers only check for negative values. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
09aac3b6ff
commit
060d49d7b0
@ -2399,7 +2399,7 @@ qemuAgentGetUsers(qemuAgentPtr agent,
|
||||
return -1;
|
||||
}
|
||||
|
||||
return ndata;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Returns: 0 on success
|
||||
|
Loading…
Reference in New Issue
Block a user