[PATCH] v4l2: VIDIOC_CROPCAP: add missing braces around arg printout.

Philippe De Muyter phdm at macqel.be
Tue May 19 21:40:44 UTC 2015


On Tue, May 19, 2015 at 08:51:07PM +0300, Dmitry V. Levin wrote:
> On Sun, Apr 26, 2015 at 03:52:48PM +0200, Philippe De Muyter wrote:
> > --- a/v4l2.c
> > +++ b/v4l2.c
> > @@ -558,12 +558,12 @@ v4l2_ioctl(struct tcb *tcp, const unsigned int code, long arg)
> >  
> >  		if (entering(tcp) || umove(tcp, arg, &c) < 0)
> >  			return 0;
> > -		tprints(", type=");
> > +		tprints(", {type=");
> >  		printxval(v4l2_buf_types, c.type, "V4L2_BUF_TYPE_???");
> >  		if (syserror(tcp))
> >  			return 1;
> 
> This introduces a potentially unbalanced curly bracket.

Good catch.

I'll send you a revised version

Philippe




More information about the Strace-devel mailing list