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/libsystemd | |
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/libsystemd')
-rw-r--r-- | src/libsystemd/sd-bus/sd-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 058492a83e..b53d4dd854 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -2672,7 +2672,7 @@ static int process_builtin(sd_bus *bus, sd_bus_message *m) { r = sd_bus_message_new_method_return(m, &reply); else if (streq_ptr(m->member, "GetMachineId")) { sd_id128_t id; - char sid[33]; + char sid[SD_ID128_STRING_MAX]; r = sd_id128_get_machine(&id); if (r < 0) |