]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
command: Fix debug message during handshake
authorJiri Denemark <jdenemar@redhat.com>
Wed, 30 May 2012 13:36:12 +0000 (15:36 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jun 2012 22:23:21 +0000 (18:23 -0400)
Probably a result of copy&paste...
(cherry picked from commit 461ed4210fc44ff81b8d5da1b83ead1791456028)

src/util/command.c

index ba430784504110b398bc9711cbd414bdbc1378bc..dcac1123456a78bdce3375a8cb0c38af32170102 100644 (file)
@@ -2534,7 +2534,7 @@ int virCommandHandshakeNotify(virCommandPtr cmd)
         return -1;
     }
 
-    VIR_DEBUG("Notify handshake on %d", cmd->handshakeWait[0]);
+    VIR_DEBUG("Notify handshake on %d", cmd->handshakeNotify[1]);
     if (safewrite(cmd->handshakeNotify[1], &c, sizeof(c)) != sizeof(c)) {
         virReportSystemError(errno, "%s", _("Unable to notify child process"));
         VIR_FORCE_CLOSE(cmd->handshakeNotify[1]);