Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148337
b: refs/heads/master
c: d3873a1
h: refs/heads/master
i:
  148335: 8c18887
v: v3
  • Loading branch information
Daniel Mack authored and Takashi Iwai committed Jun 2, 2009
1 parent 6cc9152 commit f554a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9318dce5038f193f46091b80c61928395a4139b7
refs/heads/master: d3873a1be9f2d497e9ff013e4a83a2a4d9f1d22d
4 changes: 2 additions & 2 deletions trunk/sound/usb/caiaq/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ static int __devinit init_card(struct snd_usb_caiaqdev *dev)
if (c)
*c = '\0';

strcpy(card->driver, MODNAME);
strcpy(card->shortname, dev->product_name);
strlcpy(card->driver, MODNAME, sizeof(card->driver));
strlcpy(card->shortname, dev->product_name, sizeof(card->shortname));

len = snprintf(card->longname, sizeof(card->longname),
"%s %s (serial %s, ",
Expand Down

0 comments on commit f554a21

Please sign in to comment.