summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-server.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-14 19:02:29 +0100
committerGitHub <noreply@github.com>2017-12-14 19:02:29 +0100
commitfbd0b64f44a7bae678137d67ad5da202f6b8d809 (patch)
tree0402dca4e258583e009d07c0d8eb9c0fad19d5ac /src/journal/journald-server.h
parentMerge pull request #7610 from poettering/stdio-nolocking (diff)
downloadsystemd-fbd0b64f44a7bae678137d67ad5da202f6b8d809.tar.xz
systemd-fbd0b64f44a7bae678137d67ad5da202f6b8d809.zip
tree-wide: make use of new STRLEN() macro everywhere (#7639)
Let's employ coccinelle to do this for us. Follow-up for #7625.
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r--src/journal/journald-server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.h b/src/journal/journald-server.h
index 8169bc9498..bf4ba6897a 100644
--- a/src/journal/journald-server.h
+++ b/src/journal/journald-server.h
@@ -180,7 +180,7 @@ struct Server {
ClientContext *pid1_context; /* the context of PID 1 */
};
-#define SERVER_MACHINE_ID(s) ((s)->machine_id_field + strlen("_MACHINE_ID="))
+#define SERVER_MACHINE_ID(s) ((s)->machine_id_field + STRLEN("_MACHINE_ID="))
/* Extra fields for any log messages */
#define N_IOVEC_META_FIELDS 22