mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-15 22:05:18 -05:00
redesign the message log functions
Add priority level and interface classifiers. Define macros for all priority level types to keep the callers more readable. Ensure the compatibility with previous logging mechanism. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0a4e8854d5
commit
7248b0c660
6 changed files with 230 additions and 79 deletions
|
|
@ -811,7 +811,7 @@ static int get_char_skip_comments(input_t *input)
|
|||
|
||||
dirp = opendir(str);
|
||||
if (!dirp) {
|
||||
SNDERR("Invalid search dir %s", str);
|
||||
snd_error(CONFIG, "Invalid search dir %s", str);
|
||||
free(str);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue