From: Zbigniew Jędrzejewski-Szmek Date: Wed, 8 May 2024 10:40:31 +0000 (+0200) Subject: shared: fix comment X-Git-Tag: v256-rc2~67^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca9c2c9b8643306821d53c70c9ccbd8b522f528;p=thirdparty%2Fsystemd.git shared: fix comment Follow-up for 90db1582a97d048769198ee1c0f367d003eeb130. --- diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index dfe8b60ecdb..30f9602b1ed 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -919,8 +919,8 @@ int bus_message_read_id128(sd_bus_message *m, sd_id128_t *ret) { case sizeof(sd_id128_t): if (ret) memcpy(ret, a, sz); - return !memeqzero(a, sz); /* This intends to sd_id128_is_null(), but ret may be NULL, so - * let'suse memeqzero() here. */ + return !memeqzero(a, sz); /* This mimics sd_id128_is_null(), but ret may be NULL, + * and a may be misaligned, so use memeqzero() here. */ default: return -EINVAL;