summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/gxt4500.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/gxt4500.c')
-rw-r--r--drivers/video/fbdev/gxt4500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/gxt4500.c b/drivers/video/fbdev/gxt4500.c
index f0d36a4fdaef..0dcef4bec8d7 100644
--- a/drivers/video/fbdev/gxt4500.c
+++ b/drivers/video/fbdev/gxt4500.c
@@ -655,7 +655,7 @@ static int gxt4500_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
cardtype = ent->driver_data;
par->refclk_ps = cardinfo[cardtype].refclk_ps;
info->fix = gxt4500_fix;
- strlcpy(info->fix.id, cardinfo[cardtype].cardname,
+ strscpy(info->fix.id, cardinfo[cardtype].cardname,
sizeof(info->fix.id));
info->pseudo_palette = par->pseudo_palette;