Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 14:33:04 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
Cc:        hopet@ics.muni.cz, freebsd-firewire@FreeBSD.ORG
Subject:   Re: fwcontrol -R issues with several cameras
Message-ID:  <4602D9F0.9050805@centtech.com>
In-Reply-To: <626eb4530703220921p3f6176efxe2b8085724436afb@mail.gmail.com>
References:  <46028460.5000004@centtech.com>	 <626eb4530703220718q4d293a16wfbb0a70cf21e624b@mail.gmail.com>	 <46029A6E.9070000@centtech.com>	 <626eb4530703220845qdedffbdod4bd9894dec51e6@mail.gmail.com> <626eb4530703220921p3f6176efxe2b8085724436afb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/22/07 11:21, Hidetoshi Shimokawa wrote:
> Oops, I must be wrong.
> Option '-M'  has to be used with '-R' .

Yea, I'm not using -M really anyway.  I only tried it to make sure it 
didn't do something different.

Eric



> On 3/23/07, Hidetoshi Shimokawa <simokawa@freebsd.org> wrote:
>> I found a  trivial bug in fwcontrol.c for '-M' option.
>>
>> RCS file: /home/ncvs/src/usr.sbin/fwcontrol/fwcontrol.c,v retrieving
>> revision 1.23
>> diff -u -r1.23 fwcontrol.c
>> --- fwcontrol.c 26 Oct 2006 22:33:38 -0000      1.23
>> +++ fwcontrol.c 22 Mar 2007 15:37:25 -0000
>> @@ -764,7 +764,7 @@
>>                                 errx(EX_USAGE, "unrecognized method: %s",
>>                                     optarg);
>>                         }
>> -                       break;
>> +                       /* fall through */
>>                 case 'R':
>>                         open_dev(&fd, devbase);
>>                         if (recvfn == NULL) /* guess... */
>>
>> Without this patch,  'fwcontrol -Md' will exit immediately.
>> But I am not sure whether this fix your problem.
> 


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
An undefined problem has an infinite number of solutions.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4602D9F0.9050805>