Ticket #13393: 20190128-draining-message.patch

File 20190128-draining-message.patch, 572 bytes (added by Klaas de Waal, 8 months ago)
  • mythtv/libs/libmythtv/recorders/dvbchannel.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dvbchannel.cpp b/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
    index a21d35df3f..e9fd7c95ab 100644
    a b static void drain_dvb_events(int fd) 
    14631463    struct dvb_frontend_event event;
    14641464    int ret = 0;
    14651465    while ((ret = ioctl(fd, FE_GET_EVENT, &event)) == 0);
    1466     if (ret < 0)
     1466    if ((ret < 0) && (EAGAIN != errno))
    14671467    {
    14681468        LOG(VB_CHANNEL, LOG_DEBUG, "Draining DVB Event failed. " + ENO);
    14691469    }