Ticket #922: devstatgplog.patch
File devstatgplog.patch, 524 bytes (added by , 6 years ago) |
---|
-
ataprint.cpp
3687 3687 bool use_gplog = true; 3688 3688 unsigned nsectors = 0; 3689 3689 if (gplogdir) 3690 nsectors = GetNumLogSectors(gplogdir, 0x04, false);3690 nsectors = GetNumLogSectors(gplogdir, 0x04, true); 3691 3691 else if (smartlogdir){ // for systems without ATA_READ_LOG_EXT 3692 3692 nsectors = GetNumLogSectors(smartlogdir, 0x04, false); 3693 3693 use_gplog = false;