]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed typo
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 07:46:50 +0000 (07:46 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Apr 2001 07:46:50 +0000 (07:46 +0000)
src/control/control.c

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