master/master.c
changeset 444 31223539fc00
parent 441 ffa13db95e10
child 446 8fede404c01f
equal deleted inserted replaced
443:0746236dd032 444:31223539fc00
   763 {
   763 {
   764     off_t off = 0;
   764     off_t off = 0;
   765     ec_eoe_t *eoe;
   765     ec_eoe_t *eoe;
   766     uint32_t cur, sum, min, max, pos, i;
   766     uint32_t cur, sum, min, max, pos, i;
   767 
   767 
   768     off += sprintf(buffer + off, "\nVersion: " EC_MASTER_VERSION);
   768     off += sprintf(buffer + off, "\nVersion: %s", ec_master_version_str);
   769     off += sprintf(buffer + off, "\nMode: ");
   769     off += sprintf(buffer + off, "\nMode: ");
   770     switch (master->mode) {
   770     switch (master->mode) {
   771         case EC_MASTER_MODE_ORPHANED:
   771         case EC_MASTER_MODE_ORPHANED:
   772             off += sprintf(buffer + off, "ORPHANED");
   772             off += sprintf(buffer + off, "ORPHANED");
   773             break;
   773             break;