mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
PR: ports/182490
Submitted by: "Regis A. Despres" <regis.despres@gmail.com>
Obtained from: f1858bfa34
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();
|