]> xenbits.xensource.com Git - 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)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 4 Jun 2012 14:25:57 +0000 (16:25 +0200)
Probably a result of copy&paste...

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]);