master/fsm.c
changeset 422 439cd1650c36
parent 421 2b3ce4f51bd6
child 423 862ff892cf18
--- a/master/fsm.c	Fri Oct 20 10:48:30 2006 +0000
+++ b/master/fsm.c	Fri Oct 20 12:19:20 2006 +0000
@@ -580,7 +580,9 @@
 
         if (!slave->configured
             && slave->current_state != EC_SLAVE_STATE_INIT) {
-            EC_INFO("Reconfiguring slave %i.\n", slave->ring_position);
+            ec_state_string(slave->current_state, old_state);
+            EC_INFO("Reconfiguring slave %i (%s).\n",
+                    slave->ring_position, old_state);
         }
 
         if (slave->current_state != slave->requested_state) {