summaryrefslogtreecommitdiff
path: root/receiver.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 /receiver.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 'receiver.c')
-rw-r--r--receiver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/receiver.c b/receiver.c
index 4f537e23..08346e4f 100644
--- a/receiver.c
+++ b/receiver.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: receiver.c 1.7 2007/08/12 12:30:00 kls Exp $
+ * $Id: receiver.c 2.1 2010/01/01 15:38:48 kls Exp $
*/
#include "receiver.h"
@@ -40,7 +40,7 @@ cReceiver::~cReceiver()
{
if (device) {
const char *msg = "ERROR: cReceiver has not been detached yet! This is a design fault and VDR will segfault now!";
- esyslog(msg);
+ esyslog("%s", msg);
fprintf(stderr, "%s\n", msg);
*(char *)0 = 0; // cause a segfault
}