hostnamed: use byte array when we need a byte array

it's more corect this way, but shouldn#t change a thing binary-wise
This commit is contained in:
Lennart Poettering
2021-04-29 16:39:09 +02:00
parent 66ee229879
commit c52e295d68
+1 -1
View File
@@ -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;