]> git.alsa-project.org Git - alsa-lib.git/commitdiff
UCM: Fix typo in error message
authorStephen Warren <swarren@nvidia.com>
Thu, 2 Jun 2011 22:44:38 +0000 (16:44 -0600)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Jun 2011 09:44:59 +0000 (11:44 +0200)
parse_name_is_safe disallows dots in the name, so not is the correct
word to use

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/parser.c

index 38fdba0b0ecacbaf2a07ded1a7c11cbf16324a6f..f7de9bd4939215405ce92a06272670b69ef2e564 100644 (file)
@@ -62,7 +62,7 @@ int parse_string(snd_config_t *n, char **res)
 int parse_is_name_safe(char *name)
 {
        if (strchr(name, '.')) {
-               uc_error("char '.' now allowed in '%s'", name);
+               uc_error("char '.' not allowed in '%s'", name);
                return 0;
        }
        return 1;