diff --git a/mythtv/libs/libmythtv/DeviceReadBuffer.cpp b/mythtv/libs/libmythtv/DeviceReadBuffer.cpp
index 0004437..63d8d69 100644
a
|
b
|
bool DeviceReadBuffer::Poll(void) const |
457 | 457 | |
458 | 458 | if (polls[0].revents & (POLLHUP | POLLNVAL)) |
459 | 459 | { |
460 | | LOG(VB_GENERAL, LOG_ERR, LOC + "poll error"); |
| 460 | QString msg; |
| 461 | if (polls[0].revents & POLLHUP) |
| 462 | msg = "POLLHUP"; |
| 463 | if (polls[0].revents & POLLNVAL) |
| 464 | msg += (msg.isEmpty()) ? "POLLNVAL" : ", POLLNVAL"; |
| 465 | LOG(VB_GENERAL, LOG_ERR, LOC + "poll error " + msg); |
461 | 466 | error = true; |
462 | 467 | return true; |
463 | 468 | } |