summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-01 15:44:52 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-01 15:44:52 +0100
commit68d59e292124abc89432e8403c4c2b7441c55f7c (patch)
tree52433792ff27e1c205f67d9d4018099039361182 /device.c
parent491c6d0a859c98b7da69b5b4a01be0133fdfdc1c (diff)
downloadvdr-68d59e292124abc89432e8403c4c2b7441c55f7c.tar.gz
vdr-68d59e292124abc89432e8403c4c2b7441c55f7c.tar.bz2
Fixed compiler warnings "format not a string literal and no format arguments" in some syslog calls
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 481d2328..3228af20 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.30 2010/01/01 15:03:36 kls Exp $
+ * $Id: device.c 2.31 2010/01/01 15:40:35 kls Exp $
*/
#include "device.h"
@@ -405,7 +405,7 @@ void cDevice::GetOsdSize(int &Width, int &Height, double &PixelAspect)
PixelAspect = 1.0;
}
-//#define PRINTPIDS(s) { char b[500]; char *q = b; q += sprintf(q, "%d %s ", CardIndex(), s); for (int i = 0; i < MAXPIDHANDLES; i++) q += sprintf(q, " %s%4d %d", i == ptOther ? "* " : "", pidHandles[i].pid, pidHandles[i].used); dsyslog(b); }
+//#define PRINTPIDS(s) { char b[500]; char *q = b; q += sprintf(q, "%d %s ", CardIndex(), s); for (int i = 0; i < MAXPIDHANDLES; i++) q += sprintf(q, " %s%4d %d", i == ptOther ? "* " : "", pidHandles[i].pid, pidHandles[i].used); dsyslog("%s", b); }
#define PRINTPIDS(s)
bool cDevice::HasPid(int Pid) const