summaryrefslogtreecommitdiff
path: root/p2pvr/devices/frontend.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-29 19:41:12 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-29 19:41:12 +0100
commit7cce01c40746c3e9925c1ecb4474b025bf2f9c1c (patch)
tree01de3cb198f5df22a2aef1971a3dc306e29fa3a5 /p2pvr/devices/frontend.cpp
parentRelease events update transaction before beginning reschedule (diff)
downloadp2pvr-7cce01c40746c3e9925c1ecb4474b025bf2f9c1c.tar.bz2
p2pvr-7cce01c40746c3e9925c1ecb4474b025bf2f9c1c.tar.xz
p2pvr-7cce01c40746c3e9925c1ecb4474b025bf2f9c1c.zip
C++17 and Ice 3.7p2pvr-0.3.0
Updates all components to be C++17 and Ice 3.7
Diffstat (limited to 'p2pvr/devices/frontend.cpp')
-rw-r--r--p2pvr/devices/frontend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/p2pvr/devices/frontend.cpp b/p2pvr/devices/frontend.cpp
index 1026a20..b1def01 100644
--- a/p2pvr/devices/frontend.cpp
+++ b/p2pvr/devices/frontend.cpp
@@ -4,6 +4,8 @@
#include <linux/dvb/frontend.h>
#include <factory.impl.h>
+using namespace IceTray::Logging;
+
namespace P2PVR {
namespace DVB {
Frontend::Frontend(TunerI * t, const struct dvb_frontend_info & i, IceTray::Logging::LoggerPtr log) :
@@ -28,7 +30,7 @@ Frontend::GetStatus() const
{
fe_status_t status;
if (ioctl(tuner->frontendFD, FE_READ_STATUS, &status) < 0) {
- logger->messagebf(LOG::ERR, "Reading frontend %s status failed (%s:%d)", tuner->GetDevice(), strerror(errno), errno);
+ logger->messagebf(LogLevel::ERR, "Reading frontend %s status failed (%s:%d)", tuner->GetDevice(), strerror(errno), errno);
throw P2PVR::DeviceError(tuner->GetDevice(), strerror(errno), errno);
}
return status;