dect
/
asterisk
Archived
13
0
Fork 0

clarify warning when no loadable module support

Clarify warning message when LOADABLE_MODULES is disabled but we still
try to load a module.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307192 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tzafrir 2011-02-09 19:17:01 +00:00
parent d71787fac0
commit 25b5f5b525
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
}
}
#else
ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name);
ast_log(LOG_WARNING, "Module support is not available. Module '%s' could not be loaded.\n", resource_name);
return required ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_DECLINE;
#endif
}