From c52e295d68a56822d4e62356e1b10025a8c29306 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 28 Apr 2021 14:33:19 +0200 Subject: [PATCH] hostnamed: use byte array when we need a byte array it's more corect this way, but shouldn#t change a thing binary-wise --- src/hostname/hostnamed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 27d9fecbc1b..20b4f4e61fa 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -972,7 +972,7 @@ static int method_get_product_uuid(sd_bus_message *m, void *userdata, sd_bus_err if (r < 0) return r; - r = sd_bus_message_append_array(reply, 'y', &uuid, sizeof(uuid)); + r = sd_bus_message_append_array(reply, 'y', uuid.bytes, sizeof(uuid.bytes)); if (r < 0) return r; -- 2.47.3