aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_odbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_odbc.c')
-rw-r--r--funcs/func_odbc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index fad548a..e940021 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -29,6 +29,7 @@
/*** MODULEINFO
<depend>res_odbc</depend>
+ <support_level>core</support_level>
***/
#include "asterisk.h"
@@ -1130,7 +1131,7 @@ static char *cli_odbc_read(struct ast_cli_entry *e, int cmd, struct ast_cli_args
}
if (ast_strlen_zero(query->sql_read)) {
- ast_cli(a->fd, "The function %s has no writesql parameter.\n", a->argv[2]);
+ ast_cli(a->fd, "The function %s has no readsql parameter.\n", a->argv[2]);
AST_RWLIST_UNLOCK(&queries);
return CLI_SUCCESS;
}