diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-ioctl.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c index 6539b031b4eb..3e4fc192fdec 100644 --- a/drivers/media/video/cx18/cx18-ioctl.c +++ b/drivers/media/video/cx18/cx18-ioctl.c | |||
@@ -910,7 +910,8 @@ static int cx18_log_status(struct file *file, void *fh) | |||
910 | continue; | 910 | continue; |
911 | CX18_INFO("Stream %s: status 0x%04lx, %d%% of %d KiB (%d buffers) in use\n", | 911 | CX18_INFO("Stream %s: status 0x%04lx, %d%% of %d KiB (%d buffers) in use\n", |
912 | s->name, s->s_flags, | 912 | s->name, s->s_flags, |
913 | atomic_read(&s->q_full.depth) * 100 / s->buffers, | 913 | atomic_read(&s->q_full.depth) * s->bufs_per_mdl * 100 |
914 | / s->buffers, | ||
914 | (s->buffers * s->buf_size) / 1024, s->buffers); | 915 | (s->buffers * s->buf_size) / 1024, s->buffers); |
915 | } | 916 | } |
916 | CX18_INFO("Read MPEG/VBI: %lld/%lld bytes\n", | 917 | CX18_INFO("Read MPEG/VBI: %lld/%lld bytes\n", |