terminate longopt list to prevent crashes on FreeBSD
This commit is contained in:
parent
3479ac3f86
commit
77bb51d397
|
|
@ -90,6 +90,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
static struct option long_options[] = {
|
||||
{"color", no_argument, 0, 'c'},
|
||||
{0,0,0,0}
|
||||
};
|
||||
|
||||
while (1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue