[libvirt] [PATCH] virsh: fix a typos issue cause error not right

Luyao Huang lhuang at redhat.com
Thu May 21 01:32:02 UTC 2015


Signed-off-by: Luyao Huang <lhuang at redhat.com>
---
 tools/virsh-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index a72fd05..e939dac 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -500,7 +500,7 @@ cmdAllocpages(vshControl *ctl, const vshCmd *cmd)
     if (vshCommandOptScaledInt(cmd, "pagesize", &tmp, 1024, UINT_MAX) < 0) {
         vshError(ctl,
                  _("Numeric value for <%s> option is malformed or out of range"),
-                 "cellno");
+                 "pagesize");
         return false;
     }
     pageSizes[0] = VIR_DIV_UP(tmp, 1024);
-- 
1.8.3.1




More information about the libvir-list mailing list