Re: fwcontrol -R issues with several cameras

"Hidetoshi Shimokawa" <[email protected]>
Newsgroups gmane.os.freebsd.devel.firewire
Message-ID <[email protected]>
Oops, I must be wrong.
Option '-M'  has to be used with '-R' .

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.

-- 
/\ Hidetoshi Shimokawa
\/  [email protected]
_______________________________________________
[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.