From: Daniel P. Berrange Date: Mon, 27 Jul 2015 09:29:59 +0000 (+0100) Subject: remote: fix typo in remoteDomainOpenGraphicsFD X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=afe69e6582645a61e4fa335b1625f749f168df8e;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git remote: fix typo in remoteDomainOpenGraphicsFD The remoteDomainOpenGraphicsFD method was using the wrong RPC arg struct remote_domain_open_graphics_args instead of remote_domain_open_graphics_fd_args. Fortunately both structs had identical contents so there was no functional bug, but to avoid confusing future maintainers, we should fix it. Signed-off-by: Daniel P. Berrange --- diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 273799b4a..5c4cf7c15 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -6456,7 +6456,7 @@ remoteDomainOpenGraphicsFD(virDomainPtr dom, unsigned int flags) { int rv = -1; - remote_domain_open_graphics_args args; + remote_domain_open_graphics_fd_args args; struct private_data *priv = dom->conn->privateData; int *fdout = NULL; size_t fdoutlen = 0;