mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -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);
|
||||
free(s);
|
||||
if (err) {
|
||||
uc_error("Regex '%s' compilation failed (code %d)", err);
|
||||
uc_error("Regex '%s' compilation failed (code %d)", s, err);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue