aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/tridentfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/tridentfb.c')
-rw-r--r--drivers/video/fbdev/tridentfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/tridentfb.c b/drivers/video/fbdev/tridentfb.c
index 319131bd72cf..cda095420ee8 100644
--- a/drivers/video/fbdev/tridentfb.c
+++ b/drivers/video/fbdev/tridentfb.c
@@ -270,7 +270,7 @@ static int tridentfb_setup_ddc_bus(struct fb_info *info)
{
struct tridentfb_par *par = info->par;
- strlcpy(par->ddc_adapter.name, info->fix.id,
+ strscpy(par->ddc_adapter.name, info->fix.id,
sizeof(par->ddc_adapter.name));
par->ddc_adapter.owner = THIS_MODULE;
par->ddc_adapter.class = I2C_CLASS_DDC;