On Fri, Apr 14, 2017 at 02:39:03AM +0300, Edgar Kaziahmedov wrote:
[...]
> +#if HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
> +             tprintf(", global_alpha=%#x}", f->fmt.win.global_alpha);
> +#else
> +             tprints("}");
> +#endif

Let's move tprints("}"); to the common code:

#if HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
                tprintf(", global_alpha=%#x", f->fmt.win.global_alpha);
#endif
                tprints("}");

> +#if HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE
> +             tprintf(", buffersize=%u}",
> +                     f->fmt.sdr.buffersize);
> +#else
> +             tprints("}");
>  #endif

Likewise.


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to