replace __FILE__ with __file__

Origin commit data
------------------
Commit: 70b7f74362
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-10 (Sun, 10 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-10 19:34:31 +01:00
committed by vanhofen
parent 2b00b2936c
commit 50df4dfbb0
6 changed files with 13 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ extern int SysLogLevel;
#define dsyslog printf
#endif
#define LOG_ERROR esyslog("ERROR (%s,%d): %m", __FILE__, __LINE__)
#define LOG_ERROR esyslog("ERROR (%s,%d): %m", __file__, __LINE__)
#define LOG_ERROR_STR(s) esyslog("ERROR: %s: %m", s)
#define SECSINDAY 86400