Skip to content

Commit ee5a58f

Browse files
committed
ucm: regex: fix the error message (missing argument)
Link: alsa-project/alsa-ucm-conf#580 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
1 parent 07ec2ad commit ee5a58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ucm/ucm_regex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int uc_mgr_define_regex(snd_use_case_mgr_t *uc_mgr, const char *name,
154154
err = regcomp(&re, s, options);
155155
free(s);
156156
if (err) {
157-
uc_error("Regex '%s' compilation failed (code %d)", err);
157+
uc_error("Regex '%s' compilation failed (code %d)", s, err);
158158
return -EINVAL;
159159
}
160160

0 commit comments

Comments
 (0)