]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
test_mkfds: add missing terminator of the option spec list
authorMasatake YAMATO <yamato@redhat.com>
Thu, 16 Feb 2023 19:03:49 +0000 (04:03 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 17 Feb 2023 09:12:35 +0000 (18:12 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c

index 8118fc94f9b46735b4989e0a2aa52ea12856e1a3..9eebf521484d8e26924e23db7db56b9fada69fbe 100644 (file)
@@ -2097,6 +2097,7 @@ int main(int argc, char **argv)
                { "quiet",      no_argument, NULL, 'q' },
                { "dont-puase", no_argument, NULL, 'c' },
                { "help",       no_argument, NULL, 'h' },
+               { NULL, 0, NULL, 0 },
        };
 
        while ((c = getopt_long(argc, argv, "lhqcI:r:", longopts, NULL)) != -1) {