mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
cpu_arm: fix the compile warning of unexpected format
These format are left unchanged when convert 'unsigned long' to 'unsigned long long', which caused compile warning. Signed-off-by: Jiang Jiacheng <jiangjiacheng@huawei.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
8f1a8b26c3
commit
0b17b1b0a4
@ -639,7 +639,7 @@ virCPUarmDecode(virCPUDef *cpu,
|
||||
|
||||
if (!(model = virCPUarmModelFindByPVR(map, cpuData->pvr))) {
|
||||
virReportError(VIR_ERR_OPERATION_FAILED,
|
||||
_("Cannot find CPU model with PVR 0x%03lx"),
|
||||
_("Cannot find CPU model with PVR 0x%03llx"),
|
||||
cpuData->pvr);
|
||||
return -1;
|
||||
}
|
||||
@ -656,7 +656,7 @@ virCPUarmDecode(virCPUDef *cpu,
|
||||
if (cpuData->vendor_id &&
|
||||
!(vendor = virCPUarmVendorFindByID(map, cpuData->vendor_id))) {
|
||||
virReportError(VIR_ERR_OPERATION_FAILED,
|
||||
_("Cannot find CPU vendor with vendor id 0x%02lx"),
|
||||
_("Cannot find CPU vendor with vendor id 0x%02llx"),
|
||||
cpuData->vendor_id);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user