]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
waitpid: prettify options terminator
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 11 Feb 2023 04:29:01 +0000 (04:29 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 11 Feb 2023 04:29:06 +0000 (04:29 +0000)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/waitpid.c

index 0be89faf113d22ce0f6903349c2d2f87c9bfcfd2..f7c5d4166ed8f0e1131c95276ac336bfad27fc26 100644 (file)
@@ -179,7 +179,7 @@ static int parse_options(int argc, char **argv)
                { "exited",  no_argument,       NULL, 'e' },
                { "version", no_argument,       NULL, 'V' },
                { "help",    no_argument,       NULL, 'h' },
-               { NULL, 0, NULL, 0 },
+               { 0 }
        };
 
        while ((c = getopt_long (argc, argv, "vVht:e", longopts, NULL)) != -1) {