mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
qemu_validate: Use proper printf directive for ssize_t
In one of recent commits an error message was introduced. In this message a variable of type ssize_t is being printed out, but the corresponding format directive is %ld instead of %zd which breaks on 32bits systems. Switch to proper format. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
aee64348eb
commit
e5d8697585
@ -5047,7 +5047,7 @@ qemuValidateDomainDeviceDefMemory(virDomainMemoryDef *mem,
|
||||
while ((node = virBitmapNextSetBit(mem->sourceNodes, node)) >= 0) {
|
||||
if (mem->size > sgxCaps->sgxSections[node].size) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("sgx epc size %lld on host node %ld is less than requested size %lld"),
|
||||
_("sgx epc size %lld on host node %zd is less than requested size %lld"),
|
||||
sgxCaps->sgxSections[node].size, node, mem->size);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user