提交 060d49d7 编写于 作者: P Peter Krempa

qemuAgentGetUsers: Fix return value on success

Return 0 on success to match the documentation. The callers only check
for negative values.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 09aac3b6
......@@ -2399,7 +2399,7 @@ qemuAgentGetUsers(qemuAgentPtr agent,
return -1;
}
return ndata;
return 0;
}
/* Returns: 0 on success
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册