diff options
| author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-07 15:00:47 +0200 |
|---|---|---|
| committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-04 10:36:00 +0200 |
| commit | 62c6bbbc0993e34ede5c4266c68982c995b7b421 (patch) | |
| tree | bbec59c3b915461682208ece94ff35a73aebb429 /src/shared/condition.c | |
| parent | a0b15b41771a262d042dbb6ac32a7f9614100714 (diff) | |
| download | systemd-62c6bbbc0993e34ede5c4266c68982c995b7b421.tar.gz | |
tree-wide: use PROJECT_FILE instead of __FILE__
This replaces the internal uses of __FILE__ with the new macro.
Diffstat (limited to 'src/shared/condition.c')
| -rw-r--r-- | src/shared/condition.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/condition.c b/src/shared/condition.c index 8c613fcd5f..e5e6c6cc13 100644 --- a/src/shared/condition.c +++ b/src/shared/condition.c @@ -788,14 +788,14 @@ bool condition_test_list(Condition *first, const char *(*to_string)(ConditionTyp assert(p); if (r < 0) - logger(userdata, LOG_WARNING, r, __FILE__, __LINE__, __func__, + logger(userdata, LOG_WARNING, r, PROJECT_FILE, __LINE__, __func__, "Couldn't determine result for %s=%s%s%s, assuming failed: %m", to_string(c->type), c->trigger ? "|" : "", c->negate ? "!" : "", p); else - logger(userdata, LOG_DEBUG, 0, __FILE__, __LINE__, __func__, + logger(userdata, LOG_DEBUG, 0, PROJECT_FILE, __LINE__, __func__, "%s=%s%s%s %s.", to_string(c->type), c->trigger ? "|" : "", |
