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

@@ -326,7 +326,7 @@ int DMX::getSection(uint8_t *buf, const unsigned timeoutInMSeconds, int &timeout
if (section_length <= 0)
{
unlock();
fprintf(stderr, "[sectionsd] section_length <= 0: %d [%s:%s:%d] please report!\n", section_length, __FILE__,__FUNCTION__,__LINE__);
fprintf(stderr, "[sectionsd] section_length <= 0: %d [%s:%s:%d] please report!\n", section_length, __file__,__func__,__LINE__);
return -1;
}