master/master.c
changeset 382 72500991bcc3
parent 381 006d3653701d
child 396 189909f92019
equal deleted inserted replaced
381:006d3653701d 382:72500991bcc3
   714 {
   714 {
   715     off_t off = 0;
   715     off_t off = 0;
   716     ec_eoe_t *eoe;
   716     ec_eoe_t *eoe;
   717     uint32_t cur, sum, min, max, pos, i;
   717     uint32_t cur, sum, min, max, pos, i;
   718 
   718 
   719     off += sprintf(buffer + off, "\nVersion: " EC_COMPILE_INFO);
   719     off += sprintf(buffer + off, "\nVersion: " EC_MASTER_VERSION);
   720     off += sprintf(buffer + off, "\nMode: ");
   720     off += sprintf(buffer + off, "\nMode: ");
   721     switch (master->mode) {
   721     switch (master->mode) {
   722         case EC_MASTER_MODE_ORPHANED:
   722         case EC_MASTER_MODE_ORPHANED:
   723             off += sprintf(buffer + off, "ORPHANED");
   723             off += sprintf(buffer + off, "ORPHANED");
   724             break;
   724             break;