diff options
Diffstat (limited to 'drivers/video/sis/sis_main.c')
-rw-r--r-- | drivers/video/sis/sis_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sis/sis_main.c b/drivers/video/sis/sis_main.c index a531a0f7cdf2..559bf1727a2b 100644 --- a/drivers/video/sis/sis_main.c +++ b/drivers/video/sis/sis_main.c | |||
@@ -1845,7 +1845,7 @@ sisfb_get_fix(struct fb_fix_screeninfo *fix, int con, struct fb_info *info) | |||
1845 | 1845 | ||
1846 | memset(fix, 0, sizeof(struct fb_fix_screeninfo)); | 1846 | memset(fix, 0, sizeof(struct fb_fix_screeninfo)); |
1847 | 1847 | ||
1848 | strcpy(fix->id, ivideo->myid); | 1848 | strlcpy(fix->id, ivideo->myid, sizeof(fix->id)); |
1849 | 1849 | ||
1850 | mutex_lock(&info->mm_lock); | 1850 | mutex_lock(&info->mm_lock); |
1851 | fix->smem_start = ivideo->video_base + ivideo->video_offset; | 1851 | fix->smem_start = ivideo->video_base + ivideo->video_offset; |