]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
remote: fix typo in remoteDomainOpenGraphicsFD
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 27 Jul 2015 09:29:59 +0000 (10:29 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 27 Jul 2015 11:53:36 +0000 (12:53 +0100)
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 <berrange@redhat.com>
src/remote/remote_driver.c

index 273799b4a4bc1ee2144886e6862559d351fd3b99..5c4cf7c1511285b3d466a90aa30e945455c711ec 100644 (file)
@@ -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;