diff --git a/src/xend_internal.c b/src/xend_internal.c index e23ae2bca5ec25fa92e236bc6634bec76f58b61a..a6be97a04f09fee7620ae18f3c29a6562ce3f558 100644 --- a/src/xend_internal.c +++ b/src/xend_internal.c @@ -3801,10 +3801,10 @@ xenDaemonDomainPinVcpu(virDomainPtr domain, unsigned int vcpu, priv = (xenUnifiedPrivatePtr) domain->conn->privateData; if (priv->xendConfigVersion < 3) { - buf[0] = ']'; - buf[1] = 0; + mapstr[0] = '['; + mapstr[1] = 0; } else { - buf[0] = 0; + mapstr[0] = 0; } /* from bit map, build character string of mapped CPU numbers */