diff options
| author | Nicolas Iooss <[email protected]> | 2016-12-26 11:31:39 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-02-03 11:50:40 -0200 |
| commit | 4c171636bc2beca81b25b07fbe4ac2a6ab27f982 (patch) | |
| tree | 9b722b7ec8ce55abbb0ad51ca8b658ae0d247b58 /tools/perf/scripts/python | |
| parent | d615128a7edb592f1979b593ca46a301c6afddbf (diff) | |
[media] v4l: rcar_fdp1: use %4.4s to format a 4-byte string
Using %4s to format f->fmt.pix_mp.pixelformat in fdp1_try_fmt() and
fdp1_s_fmt() may lead to more characters being printed (when the byte
following field pixelformat is not zero).
Add ".4" to the format specifier to limit the number of printed
characters to four. The resulting format specifier "%4.4s" is also used
by other media drivers to print pixelformat value.
Signed-off-by: Nicolas Iooss <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions