diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-10 17:01:18 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-10 17:01:18 +0000 |
| commit | 9f27d1b4661ce7bc71a8fe5ecd593b9f1e481aba (patch) | |
| tree | afd114dabeb1f6da3a26b1b4f204b6eeba09047d /lib/dvb/volume.cpp | |
| parent | 2932e4dae7deb665dc39950658f51bdfcaf37515 (diff) | |
| download | enigma2-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.cpp | 2 |
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; } |
