mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +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 -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ndata;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns: 0 on success
|
/* Returns: 0 on success
|
||||||
|
Loading…
x
Reference in New Issue
Block a user