Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: add error log for the DTV_CLEAR cmd
  • Loading branch information
perexg committed Aug 4, 2014
1 parent ec1b160 commit b3a05e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -1135,8 +1135,10 @@ linuxdvb_frontend_tune0
.num = 1,
.props = clear_p
};
if ((ioctl(lfe->lfe_fe_fd, FE_SET_PROPERTY, &clear_cmdseq)) != 0)
if ((ioctl(lfe->lfe_fe_fd, FE_SET_PROPERTY, &clear_cmdseq)) != 0) {
tvherror("linuxdvb", "%s - DTV_CLEAR failed [e=%s]", buf1, strerror(errno));
return -1;
}

if (freq == (uint32_t)-1)
freq = p.frequency;
Expand Down

0 comments on commit b3a05e5

Please sign in to comment.