command: Fix debug message during handshake

Probably a result of copy&paste...
(cherry picked from commit 461ed4210fc44ff81b8d5da1b83ead1791456028)
This commit is contained in:
Jiri Denemark 2012-05-30 15:36:12 +02:00 committed by Cole Robinson
parent 25a35c9ce5
commit 2a75b756d0

View File

@ -2534,7 +2534,7 @@ int virCommandHandshakeNotify(virCommandPtr cmd)
return -1; 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)) { if (safewrite(cmd->handshakeNotify[1], &c, sizeof(c)) != sizeof(c)) {
virReportSystemError(errno, "%s", _("Unable to notify child process")); virReportSystemError(errno, "%s", _("Unable to notify child process"));
VIR_FORCE_CLOSE(cmd->handshakeNotify[1]); VIR_FORCE_CLOSE(cmd->handshakeNotify[1]);