提交 1adbb827 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

media: v4l2-dv-timings.c: fix format string

It should be "%u.%02u" instead of "%u.%u".
Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: NBard Winther <bwinther@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
上级 2455d417
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册