From 25b5f5b525b5388b1153c916d5ab0d3b254146c7 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Wed, 9 Feb 2011 19:17:01 +0000 Subject: [PATCH] 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 --- main/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }