tree-wide: use PROJECT_FILE instead of __FILE__

This replaces the internal uses of __FILE__ with the new macro.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-07-04 10:36:00 +02:00
parent a0b15b4177
commit 62c6bbbc09
19 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ int json_log_internal(JsonVariant *variant, int level, int error, const char *fi
({ \
int _level = json_dispatch_level(flags), _e = (error); \
(log_get_max_level() >= LOG_PRI(_level)) \
? json_log_internal(variant, _level, _e, __FILE__, __LINE__, __func__, __VA_ARGS__) \
? json_log_internal(variant, _level, _e, PROJECT_FILE, __LINE__, __func__, __VA_ARGS__) \
: -ERRNO_VALUE(_e); \
})