[libvirt] [PATCH] command: Fix debug message during handshake

Jiri Denemark jdenemar at redhat.com
Wed May 30 13:49:10 UTC 2012


Probably a result of copy&paste...
---
 src/util/command.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/command.c b/src/util/command.c
index 5b94f1e..8b581cf 100644
--- a/src/util/command.c
+++ b/src/util/command.c
@@ -2538,7 +2538,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]);
-- 
1.7.10.2




More information about the libvir-list mailing list