diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 0fe2a51..1729182 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5461,7 +5461,7 @@ vshPrintPinInfo(unsigned char *cpumaps, size_t cpumaplen, } static unsigned char * -virParseCPUList(vshControl *ctl, const char *cpulist, +vshParseCPUList(vshControl *ctl, const char *cpulist, int maxcpu, size_t cpumaplen) { unsigned char *cpumap = NULL; @@ -5650,7 +5650,7 @@ cmdVcpuPin(vshControl *ctl, const vshCmd *cmd) } /* Pin mode: pinning specified vcpu to specified physical cpus*/ - if (!(cpumap = virParseCPUList(ctl, cpulist, maxcpu, cpumaplen))) + if (!(cpumap = vshParseCPUList(ctl, cpulist, maxcpu, cpumaplen))) goto cleanup; if (flags == -1) { @@ -5776,7 +5776,7 @@ cmdEmulatorPin(vshControl *ctl, const vshCmd *cmd) } /* Pin mode: pinning emulator threads to specified physical cpus*/ - if (!(cpumap = virParseCPUList(ctl, cpulist, maxcpu, cpumaplen))) + if (!(cpumap = vshParseCPUList(ctl, cpulist, maxcpu, cpumaplen))) goto cleanup; if (flags == -1)