aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/caiaq
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/caiaq')
-rw-r--r--sound/usb/caiaq/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
index 9be0f2ef0413..d06d7fcbb8e8 100644
--- a/sound/usb/caiaq/device.c
+++ b/sound/usb/caiaq/device.c
@@ -432,8 +432,8 @@ static int __devinit init_card(struct snd_usb_caiaqdev *dev)
432 if (c) 432 if (c)
433 *c = '\0'; 433 *c = '\0';
434 434
435 strcpy(card->driver, MODNAME); 435 strlcpy(card->driver, MODNAME, sizeof(card->driver));
436 strcpy(card->shortname, dev->product_name); 436 strlcpy(card->shortname, dev->product_name, sizeof(card->shortname));
437 437
438 len = snprintf(card->longname, sizeof(card->longname), 438 len = snprintf(card->longname, sizeof(card->longname),
439 "%s %s (serial %s, ", 439 "%s %s (serial %s, ",