V4L/DVB (9591): v4l core: fix debug printk for enumberating framerates
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Nov 2008 04:03:02 +0000 (01:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:33 +0000 (17:53 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c

index 98a0bf2..bef4286 100644 (file)
@@ -1816,9 +1816,13 @@ static int __video_do_ioctl(struct file *file,
                                p->discrete.denominator);
                        break;
                case V4L2_FRMIVAL_TYPE_STEPWISE:
-                       dbgarg2("min=%d, max=%d, step=%d\n",
-                               p->stepwise.min, p->stepwise.max,
-                               p->stepwise.step);
+                       dbgarg2("min=%d/%d, max=%d/%d, step=%d/%d\n",
+                               p->stepwise.min.numerator,
+                               p->stepwise.min.denominator,
+                               p->stepwise.max.numerator,
+                               p->stepwise.max.denominator,
+                               p->stepwise.step.numerator,
+                               p->stepwise.step.denominator);
                        break;
                case V4L2_FRMIVAL_TYPE_CONTINUOUS:
                        dbgarg2("continuous\n");