From 0bfc5e2f71ea2f7835f68a134bc1a09038c016d2 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 24 Dec 2009 11:15:22 +0100 Subject: [PATCH] cDevice now logs the device number when a new device is created --- HISTORY | 1 + device.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 37aac912..554594af 100644 --- a/HISTORY +++ b/HISTORY @@ -6224,3 +6224,4 @@ Video Disk Recorder Revision History to a given code (thanks to Joachim Wilke). - Channel names containing commas are now handled correctly in channels.conf. If a channel's short name contains a comma, it is replaced with a '.'. +- cDevice now logs the device number when a new device is created. 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);