diff options
author | Mike Isely <isely@pobox.com> | 2008-02-09 22:54:59 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-02-09 22:54:59 -0600 |
commit | b7e53806bff4c4dfbea312ae6091c82dcb9d4017 (patch) | |
tree | ceb780204a1e92b1d92304253370d6b3439ef65e | |
parent | 0c5787b5133da5a4bf8c904d6b708f2d5965d417 (diff) | |
download | mediapointer-dvb-s2-b7e53806bff4c4dfbea312ae6091c82dcb9d4017.tar.gz mediapointer-dvb-s2-b7e53806bff4c4dfbea312ae6091c82dcb9d4017.tar.bz2 |
pvrusb2: Increase buffer size for printing video standard strings
From: Mike Isely <isely@pobox.com>
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>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-std.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c index 364ba4849..bd7a8de95 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c @@ -329,7 +329,7 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, struct v4l2_standard *stddefs; if (pvrusb2_debug & PVR2_TRACE_STD) { - char buf[80]; + char buf[100]; bcnt = pvr2_std_id_to_str(buf,sizeof(buf),id); pvr2_trace( PVR2_TRACE_STD,"Mapping standards mask=0x%x (%.*s)", @@ -357,7 +357,7 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr, fmsk &= ~CSTD_ATSC; if (fmsk) { - char buf[80]; + char buf[100]; bcnt = pvr2_std_id_to_str(buf,sizeof(buf),fmsk); pvr2_trace( PVR2_TRACE_ERROR_LEGS, |