summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-01-03 11:07:46 +0000
committerrandomdan <randomdan@localhost>2014-01-03 11:07:46 +0000
commitec863f89f60a2616be00a2098c6be19fc58e7295 (patch)
tree8811bd056eafac9834ea0659d3687d5281c002b9
parentCorrectly map transport stream specifications in network tables for dvb-t (dv... (diff)
downloadp2pvr-ec863f89f60a2616be00a2098c6be19fc58e7295.tar.bz2
p2pvr-ec863f89f60a2616be00a2098c6be19fc58e7295.tar.xz
p2pvr-ec863f89f60a2616be00a2098c6be19fc58e7295.zip
Log status when tuning fails with no signal or carrier
-rw-r--r--p2pvr/lib/frontends/ofdm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/lib/frontends/ofdm.cpp b/p2pvr/lib/frontends/ofdm.cpp
index 5cb5f15..93e0d86 100644
--- a/p2pvr/lib/frontends/ofdm.cpp
+++ b/p2pvr/lib/frontends/ofdm.cpp
@@ -53,7 +53,7 @@ class Frontend_OFDM : public Frontend {
}
// Was it useful?
if (!(status & (FE_HAS_SIGNAL | FE_HAS_CARRIER))) {
- Logger()->messagebf(LOG_ERR, "Tuning of device %s failed (%s)", tuner->Device(), "No carrier");
+ Logger()->messagebf(LOG_ERR, "Tuning of device %s failed (No signal or carrier: 0x%02x)", tuner->Device(), status);
throw P2PVR::DeviceError(tuner->Device(), "No carrier", 0);
}
// Wait for lock