Permalink
Browse files

Per request from Devin, include error when FE_GET_INFO ioctl fails.

  • Loading branch information...
1 parent cfcea7a commit 4f6c6914f3cf54727dd494568dddefe9c135d2e7 @stuartm stuartm committed Jan 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 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);

0 comments on commit 4f6c691

Please sign in to comment.