forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
404 B
C
11 lines
404 B
C
--- ./discover_main.c.orig 2013-10-10 13:25:59.000000000 -0400
|
|
+++ ./discover_main.c 2013-10-10 13:26:13.000000000 -0400
|
|
@@ -33,7 +33,7 @@
|
|
grok_init(&grok);
|
|
|
|
int pattern_count = 0;
|
|
- while ((opt = getopt_long_only(argc, argv, "hp:v", options, &optind)) != -1) {
|
|
+ while ((opt = getopt_long_only(argc, argv, "hp:v", options, NULL)) != -1) {
|
|
switch (opt) {
|
|
case 'h':
|
|
usage();
|