summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-24 11:15:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-24 11:15:22 +0100
commit0bfc5e2f71ea2f7835f68a134bc1a09038c016d2 (patch)
treebc1866b68884dd36d085a6fa756743cb8dfe6176 /device.c
parent37850dfa87b1c2402f9720d6b4adee5abb0d3ca9 (diff)
downloadvdr-0bfc5e2f71ea2f7835f68a134bc1a09038c016d2.tar.gz
vdr-0bfc5e2f71ea2f7835f68a134bc1a09038c016d2.tar.bz2
cDevice now logs the device number when a new device is created
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index f1b292fc..c015271f 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.27 2009/12/05 15:52:54 kls Exp $
+ * $Id: device.c 2.28 2009/12/24 11:13:53 kls Exp $
*/
#include "device.h"
@@ -64,6 +64,7 @@ cDevice::cDevice(void)
:patPmtParser(true)
{
cardIndex = nextCardIndex++;
+ dsyslog("new device number %d", CardIndex() + 1);
SetDescription("receiver on device %d", CardIndex() + 1);