summaryrefslogtreecommitdiffstats
path: root/src/locale/localed.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-11 13:56:22 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-11 14:10:48 +0200
commit11c8b1f1031d368358286f4bb26abebd73cd2868 (patch)
tree8e3ad28a69f24d30268ada08b254fac8cd486093 /src/locale/localed.c
parentethtool-util: let's use userspace types in userspace code (diff)
downloadsystemd-11c8b1f1031d368358286f4bb26abebd73cd2868.tar.xz
systemd-11c8b1f1031d368358286f4bb26abebd73cd2868.zip
localed: use PROJECT_FILE rather than __FILE__ for logging
All our log.h code uses PROJECT_FILE for this, let's hence use it here too.
Diffstat (limited to '')
-rw-r--r--src/locale/localed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index df0eb030d4..c228385d0e 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -560,7 +560,7 @@ static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char
fmt = strjoina("libxkbcommon: ", format);
DISABLE_WARNING_FORMAT_NONLITERAL;
- log_internalv(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, fmt, args);
+ log_internalv(LOG_DEBUG, 0, PROJECT_FILE, __LINE__, __func__, fmt, args);
REENABLE_WARNING;
}