mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
ucm: libconfig parser - fix pathname for substituted file
The path name substituted file contents and normal file contents
should be handled similary. Use correct function determining
the right base directory name.
Fixes: 8f5779eb ("ucm: add LibraryConfig support")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
75ed5f05ba
commit
7887fbc6f0
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ static int parse_libconfig1(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg)
|
|||
if (file) {
|
||||
if (substfile) {
|
||||
snd_config_t *cfg;
|
||||
err = uc_mgr_config_load(uc_mgr->conf_format, file, &cfg);
|
||||
err = uc_mgr_config_load_file(uc_mgr, file, &cfg);
|
||||
if (err < 0)
|
||||
return err;
|
||||
err = uc_mgr_substitute_tree(uc_mgr, cfg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue