Ticket #922: devstatgplog.patch

File devstatgplog.patch, 524 bytes (added by oddbondboris, 7 years ago)

patch to ataprint.cpp

  • ataprint.cpp

     
    36873687    bool use_gplog = true;
    36883688    unsigned nsectors = 0;
    36893689    if (gplogdir)
    3690       nsectors = GetNumLogSectors(gplogdir, 0x04, false);
     3690      nsectors = GetNumLogSectors(gplogdir, 0x04, true);
    36913691    else if (smartlogdir){ // for systems without ATA_READ_LOG_EXT
    36923692      nsectors = GetNumLogSectors(smartlogdir, 0x04, false);
    36933693      use_gplog = false;