Commit b045979d authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Mauro Carvalho Chehab

V4L/DVB (8681): v4l2-ioctl.c: fix warning

drivers/media/video/v4l2-ioctl.c:496: warning: format '%08ld' expects
type 'long int', but argument 5 has type 'suseconds_t'
Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent c7087f56
...@@ -499,7 +499,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd, ...@@ -499,7 +499,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd,
p->timestamp.tv_sec / 3600, p->timestamp.tv_sec / 3600,
(int)(p->timestamp.tv_sec / 60) % 60, (int)(p->timestamp.tv_sec / 60) % 60,
(int)(p->timestamp.tv_sec % 60), (int)(p->timestamp.tv_sec % 60),
p->timestamp.tv_usec, (long)p->timestamp.tv_usec,
p->index, p->index,
prt_names(p->type, v4l2_type_names), prt_names(p->type, v4l2_type_names),
p->bytesused, p->flags, p->bytesused, p->flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment