summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-server.h
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-05-02 13:57:40 +0200
committerGitHub <noreply@github.com>2024-05-02 13:57:40 +0200
commitafb1c42f5a4b5b2c26e18d983b3ed290a45dbc8a (patch)
tree9a98c375120bad32f49b6b73e3bbaae0791dff4f /src/journal/journald-server.h
parentMerge pull request #32609 from systemd/dependabot/github_actions/github/super... (diff)
parentlogs-show: adjust source timestamp with header timestamp (diff)
downloadsystemd-afb1c42f5a4b5b2c26e18d983b3ed290a45dbc8a.tar.xz
systemd-afb1c42f5a4b5b2c26e18d983b3ed290a45dbc8a.zip
Merge pull request #32592 from yuwata/journal-timestamp
journal: several timestamp cleanups and improvements
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r--src/journal/journald-server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journald-server.h b/src/journal/journald-server.h
index a7939029ca..3878061d09 100644
--- a/src/journal/journald-server.h
+++ b/src/journal/journald-server.h
@@ -162,8 +162,8 @@ struct Server {
bool sent_notify_ready:1;
bool sync_scheduled:1;
- char machine_id_field[sizeof("_MACHINE_ID=") + 32];
- char boot_id_field[sizeof("_BOOT_ID=") + 32];
+ char machine_id_field[STRLEN("_MACHINE_ID=") + SD_ID128_STRING_MAX];
+ char boot_id_field[STRLEN("_BOOT_ID=") + SD_ID128_STRING_MAX];
char *hostname_field;
char *namespace_field;
char *runtime_directory;