diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-04-28 14:33:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-04-29 16:39:09 +0200 |
commit | c52e295d68a56822d4e62356e1b10025a8c29306 (patch) | |
tree | b892a67d54b24bd68109a66deebc8d5bb5fa41be /src | |
parent | 66ee229879f998d6d1d02a1db23b906237d5258e (diff) | |
download | systemd-c52e295d68a56822d4e62356e1b10025a8c29306.tar.gz |
hostnamed: use byte array when we need a byte array
it's more corect this way, but shouldn#t change a thing binary-wise
Diffstat (limited to 'src')
-rw-r--r-- | src/hostname/hostnamed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 27d9fecbc1..20b4f4e61f 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; |