From afe69e6582645a61e4fa335b1625f749f168df8e Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 27 Jul 2015 10:29:59 +0100 Subject: [PATCH] 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 --- src/remote/remote_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 273799b4a4..5c4cf7c151 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;