replace __FILE__ with __file__

This commit is contained in:
Stefan Seyfried
2016-01-10 19:34:31 +01:00
parent 2ee9ca5471
commit 25e6f0e820
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