master/master.c
changeset 356 4bdc4f2e1a93
parent 347 d201392748eb
child 361 29af81543ce1
equal deleted inserted replaced
355:3a652b240c48 356:4bdc4f2e1a93
   703 {
   703 {
   704     off_t off = 0;
   704     off_t off = 0;
   705     ec_eoe_t *eoe;
   705     ec_eoe_t *eoe;
   706     uint32_t cur, sum, min, max, pos, i;
   706     uint32_t cur, sum, min, max, pos, i;
   707 
   707 
       
   708     off += sprintf(buffer + off, "\nVersion: " EC_COMPILE_INFO);
   708     off += sprintf(buffer + off, "\nMode: ");
   709     off += sprintf(buffer + off, "\nMode: ");
   709     switch (master->mode) {
   710     switch (master->mode) {
   710         case EC_MASTER_MODE_ORPHANED:
   711         case EC_MASTER_MODE_ORPHANED:
   711             off += sprintf(buffer + off, "ORPHANED");
   712             off += sprintf(buffer + off, "ORPHANED");
   712             break;
   713             break;