提交 e2c63714 编写于 作者: E Erik Skultety

virt-admin: Output srv-clients-set data as unsigned int rather than signed

Unfortunately, commit a8962f70 only fixed first half of the reported issue of
virt-admin outputting negative values where unsigned int is expected by
BZ below, so this commit represents the other missing half of the fix.

resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1356769Signed-off-by: NErik Skultety <eskultet@redhat.com>
上级 f47b9114
......@@ -857,7 +857,7 @@ cmdSrvClientsInfo(vshControl *ctl, const vshCmd *cmd)
}
for (i = 0; i < nparams; i++)
vshPrint(ctl, "%-20s: %d\n", params[i].field, params[i].value.ui);
vshPrint(ctl, "%-20s: %u\n", params[i].field, params[i].value.ui);
ret = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册