From: Clement Calmels <clement.calmels@fr.ibm.com>

Fix bad index.

Signed-off-by: Clement Calmels <clement.calmels@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
---

 src/lxc/mainloop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lxc/mainloop.c b/src/lxc/mainloop.c
index 97673bb..fcae739 100644
--- a/src/lxc/mainloop.c
+++ b/src/lxc/mainloop.c
@@ -139,7 +139,7 @@ int lxc_mainloop_del_handler(struct lxc_epoll_descr *descr, int fd)
 		for (j = 0; j < descr->nfds; j++) {
 			if (i == j)
 				continue;
-			ev[idx] = descr->ev[idx];
+			ev[idx] = descr->ev[j];
 			idx++;
 		}



--===============0514883493==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

_______________________________________________
Linux mailing list
Linux@www.lab.toulouse-stg.fr.ibm.com
http://www.lab.toulouse-stg.fr.ibm.com/mailman/listinfo/linux

--===============0514883493==--




