summaryrefslogtreecommitdiffstats
path: root/src/libsystemd
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/libsystemd
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/libsystemd')
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c2
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)