dvbsrc: do not rely on temp var for fail detection
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 17 Jun 2016 22:32:08 +0000 (15:32 -0700)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 17 Jun 2016 22:58:09 +0000 (15:58 -0700)
commiteb0a78584105ed1c94ede667cb8581ac02123708
tree6784f3567441030b7558ff7a57f6e1199d214c82
parent1824703c81f9207e2478d54a455717c11e2af85d
dvbsrc: do not rely on temp var for fail detection

Use errno instead as local var might be overwritten
before the check.
sys/dvb/gstdvbsrc.c