aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/volume.cpp
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-10 17:01:18 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-10 17:01:18 +0000
commit9f27d1b4661ce7bc71a8fe5ecd593b9f1e481aba (patch)
treeafd114dabeb1f6da3a26b1b4f204b6eeba09047d /lib/dvb/volume.cpp
parent2932e4dae7deb665dc39950658f51bdfcaf37515 (diff)
downloadenigma2-9f27d1b4661ce7bc71a8fe5ecd593b9f1e481aba.tar.gz
enigma2-9f27d1b4661ce7bc71a8fe5ecd593b9f1e481aba.zip
this fix is sponsored by wc frisch
Diffstat (limited to 'lib/dvb/volume.cpp')
-rw-r--r--lib/dvb/volume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/volume.cpp b/lib/dvb/volume.cpp
index 0988569c..78b9bde6 100644
--- a/lib/dvb/volume.cpp
+++ b/lib/dvb/volume.cpp
@@ -93,7 +93,7 @@ void eDVBVolumecontrol::setVolume(int left, int right)
//HACK?
FILE *f;
- if((f = fopen("/proc/stb/avs/0/volume", "wb")) < 0) {
+ if((f = fopen("/proc/stb/avs/0/volume", "wb")) == NULL) {
printf("cannot open /proc/stb/avs/0/volume\n");
return;
}