diff options
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r-- | src/journal/journald-server.h | 4 |
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; |