diff options
author | reinelt <> | 2003-11-11 04:30:41 +0000 |
---|---|---|
committer | reinelt <> | 2003-11-11 04:30:41 +0000 |
commit | 6f04adc8ed7118cf96aca847e2f046a447ed46df (patch) | |
tree | f8e16e5a38a0fa27262f1f6e40fa85dc468a9889 /dvb.c | |
parent | 8106e6715435339ff1158280f4a18ea03eb69829 (diff) | |
download | lcd4linux-6f04adc8ed7118cf96aca847e2f046a447ed46df.tar.gz |
[lcd4linux @ 2003-11-11 04:30:41 by reinelt]
very minor changes
Diffstat (limited to 'dvb.c')
-rw-r--r-- | dvb.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: dvb.c,v 1.6 2003/10/05 17:58:50 reinelt Exp $ +/* $Id: dvb.c,v 1.7 2003/11/11 04:30:41 reinelt Exp $ * * DVB specific functions * @@ -22,6 +22,9 @@ * * * $Log: dvb.c,v $ + * Revision 1.7 2003/11/11 04:30:41 reinelt + * very minor changes + * * Revision 1.6 2003/10/05 17:58:50 reinelt * libtool junk; copyright messages cleaned up * @@ -106,13 +109,13 @@ int DVB (double *strength, double *snr) debug ("open (/dev/dvb/adapter0/frontend0)=%d", fd); } - if (ioctl(fd, FE_READ_SIGNAL_STRENGTH, &raw_strength)) { + if (ioctl(fd, FE_READ_SIGNAL_STRENGTH, &raw_strength)!=0) { error("ioctl(FE_READ_SIGNAL_STRENGTH) failed: %s", strerror(errno)); fd=-1; return -1; } - if (ioctl(fd, FE_READ_SNR, &raw_snr)) { + if (ioctl(fd, FE_READ_SNR, &raw_snr)!=0) { error("ioctl(FE_READ_SNR) failed: %s", strerror(errno)); fd=-1; return -1; |