diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-04-26 10:51:51 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-04-26 10:51:51 +0200 |
commit | 52437b78ac619f13b6d8f1f60332a2563ad2d416 (patch) | |
tree | 8878930f1ab9497bb3ae6b03d400a755f3e60f5a /linux/drivers/media/video/ivtv/ivtvfb.c | |
parent | fbd808231c9c40b657c3a77abd5a7b9303868617 (diff) | |
download | mediapointer-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.c | 2 |
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; |