Fixed plural handling

This commit is contained in:
Klaus Schmidinger 2015-04-18 16:19:28 +02:00
parent 165aa63d2e
commit c17328da87
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 4.1 2015/04/18 14:21:58 kls Exp $
* $Id: dvbdevice.c 4.2 2015/04/18 16:19:28 kls Exp $
*/
#include "dvbdevice.h"
@ -1249,7 +1249,7 @@ bool cDvbDevice::Initialize(void)
if (Found > 0) {
isyslog("found %d DVB device%s", Found, Found > 1 ? "s" : "");
if (Used != Found)
isyslog("using only %d DVB device%s", Used, Used > 1 ? "s" : "");
isyslog("using only %d DVB device%s", Used, Used != 1 ? "s" : "");
}
else
isyslog("no DVB device found");