summaryrefslogtreecommitdiff
path: root/net/hlfl/patches/patch-ab
blob: e1cc567fd734f44d7eb53aff16300afdfb3fe9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.1 2006/01/08 11:46:43 wiz Exp $

--- src/hlfl.c.orig	2004-09-30 01:11:05.000000000 +0900
+++ src/hlfl.c
@@ -58,7 +58,7 @@ struct definition *definitions = NULL;
 
 #ifdef HAVE_GETOPT
 /* option string for getopt() or getopt_long() */
-char *optstr = "hvV:c:t:o:";
+char *optstr = "c:t:o:hvV";
 #ifdef HAVE_GETOPT_LONG
 /* array of long option structs for getopt_long() */
 struct option long_options[] = {
@@ -66,7 +66,7 @@ struct option long_options[] = {
 	{"output", 1, 0, 'o'},
 	{"type", 1, 0, 't'},
 	{"version", 0, 0, 'V'},
-	{"verbose", 1, 0, 'v'},
+       {"verbose", 0, 0, 'v'},
 	{"check", 1, 0, 'c'},
 	{0, 0, 0, 0}
 };
@@ -1173,7 +1173,7 @@ char **argv;
 				break;
 			}
 		case 'v':{
-				verbose_level = atoi(optarg);
+                               verbose_level = 1;
 				break;
 			}
 		case 'V':{