/[openvortex]/alsa/alsa-kernel/isa/sb/sb_mixer.c
ViewVC logotype

Diff of /alsa/alsa-kernel/isa/sb/sb_mixer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by vizard, Tue Apr 15 21:35:04 2003 UTC revision 1.2 by vizard, Sun Jun 15 21:01:31 2003 UTC
# Line 452  int snd_sbmixer_add_ctl(sb_t *chip, cons Line 452  int snd_sbmixer_add_ctl(sb_t *chip, cons
452          ctl = snd_ctl_new1(&newctls[type], chip);          ctl = snd_ctl_new1(&newctls[type], chip);
453          if (! ctl)          if (! ctl)
454                  return -ENOMEM;                  return -ENOMEM;
455          strncpy(ctl->id.name, name, sizeof(ctl->id.name)-1);          strlcpy(ctl->id.name, name, sizeof(ctl->id.name));
456          ctl->id.index = index;          ctl->id.index = index;
457          ctl->private_value = value;          ctl->private_value = value;
458          if ((err = snd_ctl_add(chip->card, ctl)) < 0) {          if ((err = snd_ctl_add(chip->card, ctl)) < 0) {

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26