1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a wrong error message

This commit is contained in:
Klaus Schmidinger 2010-06-03 13:35:02 +02:00
parent a096fcb88c
commit b4b3c8a3dd

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: device.c 2.36 2010/04/11 10:45:15 kls Exp $ * $Id: device.c 2.37 2010/06/03 13:35:02 kls Exp $
*/ */
#include "device.h" #include "device.h"
@ -152,7 +152,7 @@ int cDevice::NextCardIndex(int n)
esyslog("ERROR: nextCardIndex too big (%d)", nextCardIndex); esyslog("ERROR: nextCardIndex too big (%d)", nextCardIndex);
} }
else if (n < 0) else if (n < 0)
esyslog("ERROR: invalid value in IncCardIndex(%d)", n); esyslog("ERROR: invalid value in nextCardIndex(%d)", n);
return nextCardIndex; return nextCardIndex;
} }