uuidparse: fix getopt crash
$ ./uuidparse --unknownopt Segmentation fault (core dumped) Hehe, this is the first real bug found by 'make checkusage'. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
parent
47ccf06b47
commit
f2bd688157
|
@ -299,6 +299,7 @@ int main(int argc, char **argv)
|
|||
{"raw", no_argument, NULL, 'r'},
|
||||
{"version", no_argument, NULL, 'V'},
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
static const ul_excl_t excl[] = {
|
||||
{'J', 'r'},
|
||||
|
|
Loading…
Reference in New Issue