diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-12-10 11:52:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-12-10 11:56:18 +0100 |
commit | 5905d7cf5bc8986a7cfe7076d9724c06c79f178f (patch) | |
tree | e69ff5cf824438674423f439caf52ede256fd1fb /src/journal-remote/journal-upload-journal.c | |
parent | id128: introduce ID128_UUID_STRING_MAX for sizing UUID buffers (diff) | |
download | systemd-5905d7cf5bc8986a7cfe7076d9724c06c79f178f.tar.xz systemd-5905d7cf5bc8986a7cfe7076d9724c06c79f178f.zip |
tree-wide: use SD_ID128_STRING_MAX where appropriate
Diffstat (limited to 'src/journal-remote/journal-upload-journal.c')
-rw-r--r-- | src/journal-remote/journal-upload-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-upload-journal.c b/src/journal-remote/journal-upload-journal.c index 7d7e7384bf..5bfe5acadc 100644 --- a/src/journal-remote/journal-upload-journal.c +++ b/src/journal-remote/journal-upload-journal.c @@ -103,7 +103,7 @@ static ssize_t write_entry(char *buf, size_t size, Uploader *u) { _fallthrough_; case ENTRY_BOOT_ID: { sd_id128_t boot_id; - char sid[33]; + char sid[SD_ID128_STRING_MAX]; r = sd_journal_get_monotonic_usec(u->journal, NULL, &boot_id); if (r < 0) |