Fixed typo

This commit is contained in:
Jaroslav Kysela 2001-04-19 07:46:50 +00:00
parent d16192f6f2
commit e0ef729f41

View file

@ -443,7 +443,7 @@ int snd_ctl_open(snd_ctl_t **ctlp, const char *name, int mode)
return -EINVAL; return -EINVAL;
} }
} }
if (!open) { if (!open_name) {
open_name = buf; open_name = buf;
snprintf(buf, sizeof(buf), "_snd_ctl_%s_open", str); snprintf(buf, sizeof(buf), "_snd_ctl_%s_open", str);
} }