]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: topology/ioctl: simplify ioctl handling
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 4 Apr 2024 05:24:58 +0000 (07:24 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 5 Apr 2024 05:45:22 +0000 (07:45 +0200)
commit2ab95860db0b7423906911b8b9e9f231332c2c11
tree954b036b5141250e90780b94221054ffa67a0a6e
parent595701740d7cb66bcaa877a9b23cc85196a1d141
libblkid: topology/ioctl: simplify ioctl handling

Coverity complains about the data copy within the union.
Instead unroll the loop which is less code and easier to follow.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/topology/ioctl.c