sd-id128: avoid one memcpy
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 26 Aug 2023 10:34:34 +0000 (12:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 29 Aug 2023 14:06:47 +0000 (17:06 +0300)
commit0f7735d7a9232e04d40adb0a8604e62e69af57c2
tree0487c627486e5209b9c334fb823226776ba1b787
parentf1c0ad52790bb05a672c1e4219c2ff8cf301a6f6
sd-id128: avoid one memcpy

By aligning the output buffer, we can just use the result directly, no need to
copy stuff around.
src/libsystemd/sd-id128/sd-id128.c