Ticket #1083: scsi_percentage_used_endurance_indicator.diff

File scsi_percentage_used_endurance_indicator.diff, 565 bytes (added by Rick Chen, 18 months ago)
  • scsiprint.cpp

    diff --git a/scsiprint.cpp b/scsiprint.cpp
    index abde8f5..6b323f2 100644
    a b scsiPrintSSMedia(scsi_device * device) 
    12791279                print_off();
    12801280                return FAILSMART;
    12811281            }
    1282             pout("Percentage used endurance indicator: %d%%\n", ucp[7]);
     1282            jout("Percentage used endurance indicator: %d%%\n", ucp[7]);
     1283            jglb["scsi_percentage_used_endurance_indicator"] = ucp[7];
    12831284        default:        /* ignore other parameter codes */
    12841285            break;
    12851286        }