[Core] switch_loadable_module wrongly logs that modules.conf loading fails while it's pre_load_modules.conf

fix print log error
This commit is contained in:
mangshe0 2020-01-07 02:30:51 +08:00 committed by Andrey Volk
parent ffa4ca422d
commit e0d3668e72
1 changed files with 1 additions and 1 deletions

View File

@ -2229,7 +2229,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
}
else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "open of %s failed\n", cf);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "open of %s failed\n", precf);
}
if (switch_core_sqldb_init(&err) != SWITCH_STATUS_SUCCESS)