]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (test_mkfds) initialize a proper union member
authorMasatake YAMATO <yamato@redhat.com>
Tue, 21 Nov 2023 18:57:54 +0000 (03:57 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 23 Nov 2023 13:10:57 +0000 (22:10 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c

index cd5379bc2b7079ec5522c5c96d6d8c0d24f00db9..17e87d143f1f10e5335db2fb15b4d308df943d76 100644 (file)
@@ -3139,7 +3139,7 @@ static const struct factory factories[] = {
                                .name = "read-lease",
                                .type = PTYPE_BOOLEAN,
                                .desc = "taking out read lease for the file",
-                               .defv.integer = false,
+                               .defv.boolean = false,
                        },
                        PARAM_END
                },