From: Thomas Weißschuh Date: Fri, 22 Dec 2023 10:41:37 +0000 (+0100) Subject: exch: properly terminate options array X-Git-Tag: v2.40-rc1~94^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f69c6dcf50897ebdfb15804ac801913b8e01cf3;p=thirdparty%2Futil-linux.git exch: properly terminate options array Signed-off-by: Thomas Weißschuh --- diff --git a/misc-utils/exch.c b/misc-utils/exch.c index a77cd660bf..1ea0a850a4 100644 --- a/misc-utils/exch.c +++ b/misc-utils/exch.c @@ -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, "");