summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtvfb.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-04-26 10:51:51 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-04-26 10:51:51 +0200
commit52437b78ac619f13b6d8f1f60332a2563ad2d416 (patch)
tree8878930f1ab9497bb3ae6b03d400a755f3e60f5a /linux/drivers/media/video/ivtv/ivtvfb.c
parentfbd808231c9c40b657c3a77abd5a7b9303868617 (diff)
downloadmediapointer-dvb-s2-52437b78ac619f13b6d8f1f60332a2563ad2d416.tar.gz
mediapointer-dvb-s2-52437b78ac619f13b6d8f1f60332a2563ad2d416.tar.bz2
ivtv: use strlcpy instead of strcpy.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtvfb.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtvfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtvfb.c b/linux/drivers/media/video/ivtv/ivtvfb.c
index 3b23fc05f..df789f683 100644
--- a/linux/drivers/media/video/ivtv/ivtvfb.c
+++ b/linux/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;