[libvirt] [PATCH] UML: may be typo

Eric Blake eblake at redhat.com
Mon Apr 9 16:15:03 UTC 2012


On 04/08/2012 09:40 PM, MATSUDA, Daiki wrote:
> I found typo in UML driver.
> 
> MATSUDA Daiki
> 
> --- libvirt-0.9.11/src/uml/uml_driver.c.orig    2012-04-09
> 11:56:47.105695476 +0900
> +++ libvirt-0.9.11/src/uml/uml_driver.c 2012-04-09 11:56:56.653820665 +0900
> @@ -249,7 +249,7 @@ umlIdentifyChrPTY(struct uml_driver *dri
>  {
>      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)

ACK and pushed, after improving the subject line and adding you to
AUTHORS.  Let me know if you prefer an alternate spelling in that file
(such as a proper UTF-8 representation of your name, rather than a
conversion to Latin characters).
	
-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list