aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/devicestate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/devicestate.c b/main/devicestate.c
index 49b7e1efc..edd378a83 100644
--- a/main/devicestate.c
+++ b/main/devicestate.c
@@ -609,7 +609,8 @@ static void process_collection(const char *device, struct change_collection *col
state = ast_devstate_aggregate_result(&agg);
- ast_debug(1, "Aggregate devstate result is %d\n", state);
+ ast_debug(1, "Aggregate devstate result is '%s' for '%s'\n",
+ ast_devstate2str(state), device);
event = ast_event_get_cached(AST_EVENT_DEVICE_STATE,
AST_EVENT_IE_DEVICE, AST_EVENT_IE_PLTYPE_STR, device,