linuxdvb: add error log for the DTV_CLEAR cmd
This commit is contained in:
parent
ec1b1602c2
commit
b3a05e5f64
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue