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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user