提交 257191c9 编写于 作者: M MATSUDA, Daiki 提交者: Eric Blake

UML: fix iteration over consoles

I found typo in UML driver.

MATSUDA Daiki
上级 14135609
......@@ -230,6 +230,7 @@ Patches have also been contributed by:
Christian Benvenuti <benve@cisco.com>
Ilja Livenson <ilja.livenson@gmail.com>
Stefan Bader <stefan.bader@canonical.com>
MATSUDA Daiki <matsudadik@intellilink.co.jp>
[....send patches to get your name here....]
......
......@@ -249,7 +249,7 @@ umlIdentifyChrPTY(struct uml_driver *driver,
{
int i;
for (i = 0 ; i < dom->def->nserials; i++)
for (i = 0 ; i < dom->def->nconsoles; i++)
if (dom->def->consoles[i]->source.type == VIR_DOMAIN_CHR_TYPE_PTY)
if (umlIdentifyOneChrPTY(driver, dom,
dom->def->consoles[i], "con") < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册