conmon: fix c11 for declaration

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-09-23 08:32:32 +02:00
parent 0493e06b73
commit 0ebf110b95
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -230,7 +230,8 @@ int main(int argc, char *argv[])
/* Copy data back and forth between STDIN and master fd */ /* Copy data back and forth between STDIN and master fd */
while (true) { while (true) {
int ready = epoll_wait(epfd, evlist, MAX_EVENTS, -1); int ready = epoll_wait(epfd, evlist, MAX_EVENTS, -1);
for (int i = 0; i < ready; i++) { int i = 0;
for (i = 0; i < ready; i++) {
if (evlist[i].events & EPOLLIN) { if (evlist[i].events & EPOLLIN) {
if (evlist[i].data.fd == STDIN_FILENO) { if (evlist[i].data.fd == STDIN_FILENO) {
num_read = num_read =