fwcontrol -R issues with several cameras
Hidetoshi Shimokawa
simokawa at FreeBSD.ORG
Thu Mar 22 16:22:00 UTC 2007
Oops, I must be wrong.
Option '-M' has to be used with '-R' .
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.
--
/\ Hidetoshi Shimokawa
\/ simokawa at FreeBSD.ORG
More information about the freebsd-firewire
mailing list