summaryrefslogtreecommitdiffstats
path: root/src/basic/user-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-10 13:39:08 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-11 16:47:40 +0200
commit92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a (patch)
treed1cc9788b3b4a603397793987ec845d7efb96fa1 /src/basic/user-util.c
parentlogind: rename "log_message" to "log_verb" (diff)
downloadsystemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.tar.xz
systemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.zip
tree-wide: use LOG_MESSAGE() where possible
Also break some long lines for more uniform formatting. No functional change. I went over all log_struct, log_struct_errno, log_unit_struct, log_unit_struct_errno calls, and they seem fine.
Diffstat (limited to 'src/basic/user-util.c')
-rw-r--r--src/basic/user-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/user-util.c b/src/basic/user-util.c
index da3b922bc9..8b1283a9ec 100644
--- a/src/basic/user-util.c
+++ b/src/basic/user-util.c
@@ -794,7 +794,7 @@ bool valid_user_group_name(const char *u, ValidUserFlags flags) {
/* Compare with strict result and warn if result doesn't match */
if (FLAGS_SET(flags, VALID_USER_WARN) && !valid_user_group_name(u, 0))
log_struct(LOG_NOTICE,
- "MESSAGE=Accepting user/group name '%s', which does not match strict user/group name rules.", u,
+ LOG_MESSAGE("Accepting user/group name '%s', which does not match strict user/group name rules.", u),
"USER_GROUP_NAME=%s", u,
"MESSAGE_ID=" SD_MESSAGE_UNSAFE_USER_NAME_STR);