Fix typo in previous patch

* src/remote/remote_driver.c: s/sizeof(ret)2/sizeof(ret2)/
This commit is contained in:
Daniel P. Berrange 2012-03-30 12:44:28 +01:00
parent ec8cae93db
commit 454b927630

View File

@ -2058,7 +2058,7 @@ remoteDomainCreate (virDomainPtr domain)
* it returned.
*/
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,
(xdrproc_t) xdr_remote_domain_lookup_by_uuid_args, (char *) &args2,
(xdrproc_t) xdr_remote_domain_lookup_by_uuid_ret, (char *) &ret2) == -1)