summaryrefslogtreecommitdiffstats
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-12-10 11:52:54 +0100
committerLennart Poettering <lennart@poettering.net>2019-12-10 11:56:18 +0100
commit5905d7cf5bc8986a7cfe7076d9724c06c79f178f (patch)
treee69ff5cf824438674423f439caf52ede256fd1fb /src/nspawn
parentid128: introduce ID128_UUID_STRING_MAX for sizing UUID buffers (diff)
downloadsystemd-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.c2
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;