[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] stubdom: fix copy/paste typo in select()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215529943 -3600
# Node ID aa07c48c234747c5b712083d453788cbe2f02d97
# Parent  edd6969f609c1cd49923ae38bf3fb11f4b78813f
stubdom: fix copy/paste typo in select()

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/lib/sys.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r edd6969f609c -r aa07c48c2347 extras/mini-os/lib/sys.c
--- a/extras/mini-os/lib/sys.c  Tue Jul 08 14:26:09 2008 +0100
+++ b/extras/mini-os/lib/sys.c  Tue Jul 08 16:12:23 2008 +0100
@@ -733,7 +733,7 @@ static int select_poll(int nfds, fd_set 
            FD_CLR(i, exceptfds);
            break;
        case FTYPE_CONSOLE:
-           if (FD_ISSET(i, writefds)) {
+           if (FD_ISSET(i, readfds)) {
                 if (xencons_ring_avail())
                    n++;
                else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.