mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
Clarify an error message in setmem.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
6f17a5d166
commit
28b9a6c769
@ -2407,7 +2407,8 @@ cmdSetmem(vshControl *ctl, const vshCmd *cmd)
|
|||||||
|
|
||||||
if (kilobytes > info.maxMem) {
|
if (kilobytes > info.maxMem) {
|
||||||
virDomainFree(dom);
|
virDomainFree(dom);
|
||||||
vshError(ctl, _("Invalid value of %d for memory size"), kilobytes);
|
vshError(ctl, _("Requested memory size %d kb is larger than maximum of %lu kb"),
|
||||||
|
kilobytes, info.maxMem);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user