fwcontrol -R issues with several cameras
Eric Anderson
anderson at centtech.com
Thu Mar 22 19:33:06 UTC 2007
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 at 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.
------------------------------------------------------------------------
More information about the freebsd-firewire
mailing list