diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-09 19:17:01 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-09 19:17:01 +0000 |
commit | 1540401a4a3ff684a1b2978f1a6bf1bab7d297a9 (patch) | |
tree | 50aadd219aeaef588564dac09c0798d8f6a240d6 | |
parent | fc4df44bd8269dcb4544fc104c25f452fa176d7c (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@307192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/loader.c b/main/loader.c index dea236b05..cb88e3463 100644 --- a/main/loader.c +++ b/main/loader.c @@ -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 } |