]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkzone: don't take address of struct blk_zone
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 10:47:03 +0000 (12:47 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 1 Jun 2023 10:16:34 +0000 (12:16 +0200)
commit66fac3e71f9dcb4f3f1b04d523008068173e27f7
tree6b0f752a203931514c22d28cf78b94e431218e87
parentd2e3ac959510df1271eec41ce1a58b6d69ec77f5
blkzone: don't take address of struct blk_zone

Older versions of GCC do not know the warning so they warn about the
unknown ignored warning.

As struct blk_zone is only 64 bytes anyway just copy it.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
sys-utils/blkzone.c