replace __FILE__ with __file__

This commit is contained in:
Stefan Seyfried
2016-01-10 19:34:31 +01:00
committed by svenhoefer
parent 54e1d3eecb
commit 70b7f74362
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