aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpbx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index 3466a9844..51b337018 100755
--- a/pbx.c
+++ b/pbx.c
@@ -3145,14 +3145,14 @@ static int handle_show_hints(int fd, int argc, char *argv[])
watchers = 0;
for (watcher = hint->callbacks; watcher; watcher = watcher->next)
watchers++;
- ast_cli(fd, " %-20.20s: %-20.20s State %2d Watchers %2d\n",
+ ast_cli(fd, " %-20.20s: %-20.20s State:%-15.15s Watchers %2d\n",
ast_get_extension_name(hint->exten), ast_get_extension_app(hint->exten),
- hint->laststate, watchers);
+ devstate2str(hint->laststate), watchers);
num++;
hint = hint->next;
}
ast_cli(fd, "----------------\n");
- ast_cli(fd, "- %d hints registred\n", num);
+ ast_cli(fd, "- %d hints registered\n", num);
ast_mutex_unlock(&hintlock);
return RESULT_SUCCESS;
}