From 555fe68a018e193193f916c5e7c888c0a386e9fe Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 14 Jan 2015 12:17:39 +0100 Subject: Added the channel name to log messages that reference a channel --- device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device.c') 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--;) { -- cgit v1.2.3