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/nspawn | |
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/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index d1ad8a37c8..00adbcb61a 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2229,9 +2229,9 @@ static int setup_hostname(void) { static int setup_journal(const char *directory) { _cleanup_free_ char *d = NULL; + char id[SD_ID128_STRING_MAX]; const char *dirname, *p, *q; sd_id128_t this_id; - char id[33]; bool try; int r; |