diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:35:49 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:35:49 +0200 |
commit | d4893ad1fed2e2b157c404d610db779138c4c461 (patch) | |
tree | 50d97120ec3a806cf2bcc74cd6385c750eb15d77 /config.h | |
parent | 49fcbf19fa2a179d06990443349575ffa86a697f (diff) | |
download | vdr-d4893ad1fed2e2b157c404d610db779138c4c461.tar.gz vdr-d4893ad1fed2e2b157c404d610db779138c4c461.tar.bz2 |
Improved the [eid]syslog() macros
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.115 2002/05/12 09:18:44 kls Exp $ + * $Id: config.h 1.116 2002/05/13 16:28:16 kls Exp $ */ #ifndef __CONFIG_H @@ -227,7 +227,7 @@ public: fileName = strdup(FileName); bool result = false; if (access(FileName, F_OK) == 0) { - isyslog(LOG_INFO, "loading %s", FileName); + isyslog("loading %s", FileName); FILE *f = fopen(fileName, "r"); if (f) { int line = 0; @@ -245,7 +245,7 @@ public: if (l->Parse(buffer)) Add(l); else { - esyslog(LOG_ERR, "error in %s, line %d\n", fileName, line); + esyslog("error in %s, line %d\n", fileName, line); delete l; result = false; break; |