diff options
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index cbd3308b6690..27faffdee11b 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -1885,7 +1885,7 @@ static int __devinit aty128_init(struct pci_dev *pdev, const struct pci_device_i | |||
1885 | 1885 | ||
1886 | /* range check to make sure */ | 1886 | /* range check to make sure */ |
1887 | if (ent->driver_data < ARRAY_SIZE(r128_family)) | 1887 | if (ent->driver_data < ARRAY_SIZE(r128_family)) |
1888 | strncat(video_card, r128_family[ent->driver_data], sizeof(video_card)); | 1888 | strlcat(video_card, r128_family[ent->driver_data], sizeof(video_card)); |
1889 | 1889 | ||
1890 | printk(KERN_INFO "aty128fb: %s [chip rev 0x%x] ", video_card, chip_rev); | 1890 | printk(KERN_INFO "aty128fb: %s [chip rev 0x%x] ", video_card, chip_rev); |
1891 | 1891 | ||