diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-19 23:17:41 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-19 23:17:41 +0100 |
commit | 0d9ea3a955d24a4793f5351baec68ec7d397b78f (patch) | |
tree | 743c0386856fb6d43340784d1cbbdde8610a66a9 /tar/tar2sqfs.c | |
parent | 43d38a3c0f8f6e234a75a69df7bc5009f6f3cd85 (diff) |
Fix: properly terminate the getopt_long arrays
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r-- | tar/tar2sqfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 5c18312..6186930 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -37,6 +37,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 = "r:c:b:B:d:X:j:Q:sxekfqThV"; |