mirror of https://gitee.com/openkylin/linux.git
media: v4l2-dv-timings.c: fix format string
It should be "%u.%02u" instead of "%u.%u". Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: Bard Winther <bwinther@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
2455d417c0
commit
1adbb8276f
|
@ -293,7 +293,7 @@ void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
|
|||
if (prefix == NULL)
|
||||
prefix = "";
|
||||
|
||||
pr_info("%s: %s%ux%u%s%u.%u (%ux%u)\n", dev_prefix, prefix,
|
||||
pr_info("%s: %s%ux%u%s%u.%02u (%ux%u)\n", dev_prefix, prefix,
|
||||
bt->width, bt->height, bt->interlaced ? "i" : "p",
|
||||
fps / 100, fps % 100, htot, vtot);
|
||||
|
||||
|
|
Loading…
Reference in New Issue