提交 454b9276 编写于 作者: D Daniel P. Berrange

Fix typo in previous patch

* src/remote/remote_driver.c: s/sizeof(ret)2/sizeof(ret2)/
上级 ec8cae93
...@@ -2058,7 +2058,7 @@ remoteDomainCreate (virDomainPtr domain) ...@@ -2058,7 +2058,7 @@ remoteDomainCreate (virDomainPtr domain)
* it returned. * it returned.
*/ */
memcpy (args2.uuid, domain->uuid, VIR_UUID_BUFLEN); memcpy (args2.uuid, domain->uuid, VIR_UUID_BUFLEN);
memset (&ret2, 0, sizeof(ret)2); memset (&ret2, 0, sizeof(ret2));
if (call (domain->conn, priv, 0, REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID, if (call (domain->conn, priv, 0, REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID,
(xdrproc_t) xdr_remote_domain_lookup_by_uuid_args, (char *) &args2, (xdrproc_t) xdr_remote_domain_lookup_by_uuid_args, (char *) &args2,
(xdrproc_t) xdr_remote_domain_lookup_by_uuid_ret, (char *) &ret2) == -1) (xdrproc_t) xdr_remote_domain_lookup_by_uuid_ret, (char *) &ret2) == -1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册