diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 13:45:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:48 -0400 |
commit | a00199fb3fe41c8190c38e548a178e965f582cda (patch) | |
tree | ec14f7a3bed94fefc289d78a73afa5f6a150acc8 /drivers/media/video/pvrusb2/pvrusb2-std.c | |
parent | ef7c37009225776e92979f464bfbf5d796d3a5ea (diff) |
V4L/DVB (7317): pvrusb2: Increase buffer size for printing video standard strings
Buffer size for printing pvrusb2 video standard strings was too small
before. This is cosmetic; the printing logic is not able to overrun a
too-short buffer.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-std.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-std.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-std.c b/drivers/media/video/pvrusb2/pvrusb2-std.c index ddd3fc38a419..fdc5a2b49ca8 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-std.c +++ b/drivers/media/video/pvrusb2/pvrusb2-std.c | |||
@@ -328,7 +328,7 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, | |||
328 | struct v4l2_standard *stddefs; | 328 | struct v4l2_standard *stddefs; |
329 | 329 | ||
330 | if (pvrusb2_debug & PVR2_TRACE_STD) { | 330 | if (pvrusb2_debug & PVR2_TRACE_STD) { |
331 | char buf[80]; | 331 | char buf[100]; |
332 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),id); | 332 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),id); |
333 | pvr2_trace( | 333 | pvr2_trace( |
334 | PVR2_TRACE_STD,"Mapping standards mask=0x%x (%.*s)", | 334 | PVR2_TRACE_STD,"Mapping standards mask=0x%x (%.*s)", |
@@ -356,7 +356,7 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, | |||
356 | fmsk &= ~CSTD_ATSC; | 356 | fmsk &= ~CSTD_ATSC; |
357 | 357 | ||
358 | if (fmsk) { | 358 | if (fmsk) { |
359 | char buf[80]; | 359 | char buf[100]; |
360 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),fmsk); | 360 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),fmsk); |
361 | pvr2_trace( | 361 | pvr2_trace( |
362 | PVR2_TRACE_ERROR_LEGS, | 362 | PVR2_TRACE_ERROR_LEGS, |