ia64/xen-unstable

changeset 17996:aa07c48c2347

stubdom: fix copy/paste typo in select()

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jul 08 16:12:23 2008 +0100 (2008-07-08)
parents edd6969f609c
children a7ec5cc4fd08
files extras/mini-os/lib/sys.c
line diff
     1.1 --- a/extras/mini-os/lib/sys.c	Tue Jul 08 14:26:09 2008 +0100
     1.2 +++ b/extras/mini-os/lib/sys.c	Tue Jul 08 16:12:23 2008 +0100
     1.3 @@ -733,7 +733,7 @@ static int select_poll(int nfds, fd_set 
     1.4  	    FD_CLR(i, exceptfds);
     1.5  	    break;
     1.6  	case FTYPE_CONSOLE:
     1.7 -	    if (FD_ISSET(i, writefds)) {
     1.8 +	    if (FD_ISSET(i, readfds)) {
     1.9                  if (xencons_ring_avail())
    1.10  		    n++;
    1.11  		else