projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bb214a
)
localed: use PROJECT_FILE rather than __FILE__ for logging
v248.8
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 16:05:25 +0000
(18:05 +0200)
All our log.h code uses PROJECT_FILE for this, let's hence use it here
too.
(cherry picked from commit
11c8b1f1031d368358286f4bb26abebd73cd2868
)
(cherry picked from commit
00b0393e65252bf631670604f58b844780b08c50
)
src/locale/localed.c
patch
|
blob
|
history
diff --git
a/src/locale/localed.c
b/src/locale/localed.c
index c2d2d08c32c5b4023703959361826be12b3cd695..4969ed9f24f2ba3d4abe99352ce531ee2d0aabde 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;
}