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 /receiver.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 'receiver.c')
-rw-r--r-- | receiver.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: 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 } |