Re: fwcontrol -R issues with several cameras

Eric Anderson <[email protected]>
Newsgroups gmane.os.freebsd.devel.firewire
Message-ID <[email protected]>
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 <[email protected]> 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.
------------------------------------------------------------------------
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.