projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798baaf
)
localed: use PROJECT_FILE rather than __FILE__ for logging
v249.5
author
Lennart Poettering
<lennart@poettering.net>
Mon, 11 Oct 2021 11:56:22 +0000
(13:56 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 12 Oct 2021 15:24:04 +0000
(17:24 +0200)
All our log.h code uses PROJECT_FILE for this, let's hence use it here
too.
(cherry picked from commit
11c8b1f1031d368358286f4bb26abebd73cd2868
)
src/locale/localed.c
patch
|
blob
|
history
diff --git
a/src/locale/localed.c
b/src/locale/localed.c
index df0eb030d46651339fc35c11c0b61949b29e187e..c228385d0efd1fb1377c0522d314f063362eb7d0 100644
(file)
--- 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;
}