linuxdvb: add error log for the DTV_CLEAR cmd

This commit is contained in:
Jaroslav Kysela 2014-07-28 10:16:19 +02:00
parent ec1b1602c2
commit b3a05e5f64

View file

@ -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;