diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-04-26 08:51:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-29 18:41:34 -0300 |
commit | cebfadff4a5c877c524ae6014613edab9f50a2a9 (patch) | |
tree | f6cf91e323d4d9a90ba60868aceaf601796ff8e6 /drivers/media/video/ivtv/ivtvfb.c | |
parent | ecfcc83b8d6ff8ac65b072b309a1774ca52d955e (diff) | |
download | blackbird-op-linux-cebfadff4a5c877c524ae6014613edab9f50a2a9.tar.gz blackbird-op-linux-cebfadff4a5c877c524ae6014613edab9f50a2a9.zip |
V4L/DVB (7756): ivtv: use strlcpy instead of strcpy
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtvfb.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtvfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtvfb.c b/drivers/media/video/ivtv/ivtvfb.c index 3b23fc05f7c4..df789f683e63 100644 --- a/drivers/media/video/ivtv/ivtvfb.c +++ b/drivers/media/video/ivtv/ivtvfb.c @@ -532,7 +532,7 @@ static int ivtvfb_get_fix(struct ivtv *itv, struct fb_fix_screeninfo *fix) IVTVFB_DEBUG_INFO("ivtvfb_get_fix\n"); memset(fix, 0, sizeof(struct fb_fix_screeninfo)); - strcpy(fix->id, "cx23415 TV out"); + strlcpy(fix->id, "cx23415 TV out", sizeof(fix->id)); fix->smem_start = oi->video_pbase; fix->smem_len = oi->video_buffer_size; fix->type = FB_TYPE_PACKED_PIXELS; |