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:
Jaroslav Kysela 2025-06-26 11:33:15 +02:00
parent 07ec2ad34c
commit ee5a58f48e

View file

@ -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;
}