diff --git a/AUTHORS b/AUTHORS index 66938cbe54..b2283830e1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -230,6 +230,7 @@ Patches have also been contributed by: Christian Benvenuti Ilja Livenson Stefan Bader + MATSUDA Daiki [....send patches to get your name here....] diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index f2d0368384..4e640ff67a 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -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)