From 0d9ea3a955d24a4793f5351baec68ec7d397b78f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 19 Mar 2020 23:17:41 +0100 Subject: Fix: properly terminate the getopt_long arrays Signed-off-by: David Oberhollenzer --- unpack/options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'unpack') diff --git a/unpack/options.c b/unpack/options.c index b9d4744..cdd19e1 100644 --- a/unpack/options.c +++ b/unpack/options.c @@ -28,6 +28,7 @@ static struct option long_opts[] = { { "quiet", no_argument, NULL, 'q' }, { "help", no_argument, NULL, 'h' }, { "version", no_argument, NULL, 'V' }, + { NULL, 0, NULL, 0 }, }; static const char *short_opts = -- cgit v1.2.3