summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2012-01-03 22:17:51 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-01-03 22:55:19 (GMT)
commit4f6c6914f3cf54727dd494568dddefe9c135d2e7 (patch)
treea369e60530532d9dfc036110e46af211dc3c647a
parentcfcea7a40b14d7b856c5fa1c15092a05a89bc227 (diff)
Per request from Devin, include error when FE_GET_INFO ioctl fails.
-rw-r--r--mythtv/libs/libmythtv/cardutil.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/cardutil.cpp b/mythtv/libs/libmythtv/cardutil.cpp
index 5e15947..58bf1cc 100644
--- a/mythtv/libs/libmythtv/cardutil.cpp
+++ b/mythtv/libs/libmythtv/cardutil.cpp
@@ -288,7 +288,8 @@ QString CardUtil::ProbeDVBType(const QString &device)
if (err < 0)
{
close(fd_frontend);
- VERBOSE(VB_IMPORTANT, "FE_GET_INFO ioctl failed (" + dvbdev + ").");
+ VERBOSE(VB_IMPORTANT, QString("FE_GET_INFO ioctl failed (%1)")
+ .arg(dvbdev) + ENO);
return ret;
}
close(fd_frontend);