Message ID | 20160720151235.GB11412@thinpad.lan.raisama.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index cf518ac..ac7a4d5 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1923,9 +1923,8 @@ static void pc_cpu_pre_plug(HotplugHandler *hotplug_dev, } if (cpu_slot->cpu) { - error_setg(errp, "CPU[%ld] with APIC ID %" PRIu32 " exists", - cpu_slot - pcms->possible_cpus->cpus, - cpu->apic_id); + error_setg(errp, "CPU[%d] with APIC ID %" PRIu32 " exists", + idx, cpu->apic_id); return; }