summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-14 12:17:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-14 12:17:39 +0100
commit555fe68a018e193193f916c5e7c888c0a386e9fe (patch)
tree805ff628a61c600588e0490f91152c0a126fabee /device.c
parent1ddda558b03078b23051bef8f3969c0d45d5ce7f (diff)
downloadvdr-555fe68a018e193193f916c5e7c888c0a386e9fe.tar.gz
vdr-555fe68a018e193193f916c5e7c888c0a386e9fe.tar.bz2
Added the channel name to log messages that reference a channel
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 7da1b290..3d57611d 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 3.18 2015/01/14 11:06:13 kls Exp $
+ * $Id: device.c 3.19 2015/01/14 12:02:44 kls Exp $
*/
#include "device.h"
@@ -696,7 +696,7 @@ bool cDevice::MaySwitchTransponder(const cChannel *Channel) const
bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView)
{
if (LiveView) {
- isyslog("switching to channel %d", Channel->Number());
+ isyslog("switching to channel %d (%s)", Channel->Number(), Channel->Name());
cControl::Shutdown(); // prevents old channel from being shown too long if GetDevice() takes longer
}
for (int i = 3; i--;) {