diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-10 13:31:23 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-10 13:31:23 +0000 |
| commit | eb809af235f29275f9a1e34c16d781dfdcf0156e (patch) | |
| tree | 4256b48a3c1f3d715e69a9929bc149b803db623e /lib/dvb | |
| parent | 669723ea96dadeca85546e498ea3ede3e619ef4c (diff) | |
| download | enigma2-eb809af235f29275f9a1e34c16d781dfdcf0156e.tar.gz enigma2-eb809af235f29275f9a1e34c16d781dfdcf0156e.zip | |
fix small bug
Diffstat (limited to 'lib/dvb')
| -rw-r--r-- | lib/dvb/frontend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index e1af3098..df98dc24 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -1541,7 +1541,7 @@ void eDVBFrontend::tuneLoop() // called by m_tuneTimer if (f) // new interface exist? { bool slimiting = m_sec_sequence.current()->mode == eSecCommand::modeStatic; - if (fprintf(f, "%s", slimiting ? "on" : "off") != 1) + if (fprintf(f, "%s", slimiting ? "on" : "off") <= 0) eDebug("write %s failed!! (%m)", proc_name); else eDebug("[SEC] set %s current limiting", slimiting ? "static" : "dynamic"); |
