]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
exch: properly terminate options array
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 22 Dec 2023 10:41:37 +0000 (11:41 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 22 Dec 2023 10:41:37 +0000 (11:41 +0100)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/exch.c

index a77cd660bf02606d25973b876047f1fe682f7dcf..1ea0a850a4348a7e2177508416adb50ba54b5b63 100644 (file)
@@ -59,6 +59,7 @@ int main(int argc, char **argv)
        static const struct option longopts[] = {
                { "version",    no_argument, NULL, 'V' },
                { "help",       no_argument, NULL, 'h' },
+               { 0 }
        };
 
        setlocale(LC_ALL, "");