id128: introduce ID128_UUID_STRING_MAX for sizing UUID buffers

This commit is contained in:
Lennart Poettering
2019-12-10 11:33:28 +01:00
parent dd1b315d22
commit b5ea030d65
6 changed files with 10 additions and 7 deletions

View File

@@ -2866,7 +2866,7 @@ static int inner_child(
FDSet *fds) {
_cleanup_free_ char *home = NULL;
char as_uuid[37];
char as_uuid[ID128_UUID_STRING_MAX];
size_t n_env = 1;
const char *envp[] = {
"PATH=" DEFAULT_PATH_COMPAT,