From 313c18b8a7556cb6800d4c804b223a39cb25e706 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 8 Jul 2008 16:12:23 +0100 Subject: [PATCH] stubdom: fix copy/paste typo in select() Signed-off-by: Samuel Thibault --- lib/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sys.c b/lib/sys.c index 5b763af..cae0ed4 100644 --- a/lib/sys.c +++ b/lib/sys.c @@ -733,7 +733,7 @@ static int select_poll(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exce FD_CLR(i, exceptfds); break; case FTYPE_CONSOLE: - if (FD_ISSET(i, writefds)) { + if (FD_ISSET(i, readfds)) { if (xencons_ring_avail()) n++; else -- 2.39.5