virtio: fix gso and csum offload errors handling
[vpp.git] / extras / libmemif / test / main_test.c
index 0a8e091..8ad9961 100644 (file)
@@ -94,7 +94,7 @@ START_TEST (test_init_epoll)
   ck_assert_ptr_ne (lm, NULL);
   ck_assert_ptr_ne (lm->control_fd_update, NULL);
   ck_assert_int_gt (lm->timerfd, 2);
-  ck_assert_int_gt (memif_epfd, -1);
+  ck_assert_int_gt (lm->epfd, -1);
 
   if (lm->timerfd > 0)
     close (lm->timerfd);