diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-01-01 15:44:52 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-01-01 15:44:52 +0100 |
commit | 68d59e292124abc89432e8403c4c2b7441c55f7c (patch) | |
tree | 52433792ff27e1c205f67d9d4018099039361182 /device.c | |
parent | 491c6d0a859c98b7da69b5b4a01be0133fdfdc1c (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |