Date: Thu, 28 Oct 2004 11:20:23 +0300 (EEST) From: Irina Liakh <spell@itl.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/73229: [patch] [ancontrol] -f option is implemented but refused Message-ID: <20041028082023.43B4621040@mermaid.itl.net.ua> Resent-Message-ID: <200410280830.i9S8UU2c024762@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73229
>Category: bin
>Synopsis: [patch] [ancontrol] -f option is implemented but refused
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 28 08:30:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Irina Liakh
>Release: seems to be on every 4.x and 5.x
>Organization:
ITL
>Environment:
System: FreeBSD 5.3-STABLE Oct 25, an0
>Description:
ancontrol utility have implemented but refuses -f option in command line.
>How-To-Repeat:
Run ancontrol -f <num>
>Fix:
Just add "f:" to getopt() argument:
--- ancontrol.c.orig Thu Oct 28 11:14:58 2004
+++ ancontrol.c Thu Oct 28 11:15:49 2004
@@ -1547,7 +1547,7 @@
opterr = 1;
while ((ch = getopt(argc, argv,
- "ANISCTRht:a:e:o:s:n:v:d:j:b:c:r:p:w:m:l:k:K:W:QZM:L:")) != -1) {
+ "ANISCTRht:a:e:o:s:n:v:d:j:b:c:r:f:p:w:m:l:k:K:W:QZM:L:")) != -1) {
switch(ch) {
case 'Z':
#ifdef ANCACHE
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041028082023.43B4621040>
