From 6f69c6dcf50897ebdfb15804ac801913b8e01cf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Fri, 22 Dec 2023 11:41:37 +0100 Subject: [PATCH] exch: properly terminate options array MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- misc-utils/exch.c | 1 + 1 file changed, 1 insertion(+) 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, ""); -- 2.47.3