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

Dmitry V. Levin ldv at altlinux.org
Tue May 19 17:51:07 UTC 2015


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.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150519/a4378ba1/attachment.bin>


More information about the Strace-devel mailing list