Clarify an error message in setmem.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
Chris Lalancette 2010-03-12 12:14:48 -05:00
parent 6f17a5d166
commit 28b9a6c769

View File

@ -2407,7 +2407,8 @@ cmdSetmem(vshControl *ctl, const vshCmd *cmd)
if (kilobytes > info.maxMem) {
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;
}