mirror of https://github.com/xqemu/xqemu.git
pc-dimm: fix up error message
- int should be printed using %d - print actual wrong value for property Cc: qemu-stable@nongnu.org Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
cfe0ffd027
commit
988eba0f68
|
@ -253,8 +253,9 @@ static void pc_dimm_realize(DeviceState *dev, Error **errp)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dimm->node >= nb_numa_nodes) {
|
if (dimm->node >= nb_numa_nodes) {
|
||||||
error_setg(errp, "'" PC_DIMM_NODE_PROP
|
error_setg(errp, "'DIMM property " PC_DIMM_NODE_PROP " has value %"
|
||||||
"' exceeds numa node number: %" PRId32, nb_numa_nodes);
|
PRIu32 "' which exceeds the number of numa nodes: %d",
|
||||||
|
dimm->node, nb_numa_nodes);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue