mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
ucm: regex: fix the error message (missing argument)
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/580 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
07ec2ad34c
commit
ee5a58f48e
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ int uc_mgr_define_regex(snd_use_case_mgr_t *uc_mgr, const char *name,
|
||||||
err = regcomp(&re, s, options);
|
err = regcomp(&re, s, options);
|
||||||
free(s);
|
free(s);
|
||||||
if (err) {
|
if (err) {
|
||||||
uc_error("Regex '%s' compilation failed (code %d)", err);
|
uc_error("Regex '%s' compilation failed (code %d)", s, err);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue