diff --git a/src/shred.cpp b/src/shred.cpp index 158e19b..3cb9c48 100644 --- a/src/shred.cpp +++ b/src/shred.cpp @@ -90,8 +90,7 @@ int Shred::shredDrive(Drive *drive, int *ipSignalFd) tfng_prng_seedkey(ucKey); this->ulDriveByteSize = getDriveSizeInBytes(driveFileDiscr); - drive->sShredSpeed.chronoShredTimestamp = std::chrono::system_clock::now(); - ; // set inital timestamp for speed metric + drive->sShredSpeed.chronoShredTimestamp = std::chrono::system_clock::now(); // set inital timestamp for speed metric drive->sShredSpeed.ulSpeedMetricBytesWritten = 0U; // uses to calculate speed metric #ifdef LOG_LEVEL_HIGH diff --git a/src/smart.cpp b/src/smart.cpp index 6478caa..339d94f 100644 --- a/src/smart.cpp +++ b/src/smart.cpp @@ -27,7 +27,7 @@ void SMART::readSMARTData(Drive *drive) modelName.clear(); serial.clear(); - string sSmartctlCommands[] = {" --json -a ", " --json -d sntjmicron -a ", " --json -d sntasmedia -a ", " --json -d sntrealtek -a "}; + string sSmartctlCommands[] = {" --json -a ", " --json -d sntjmicron -a ", " --json -d sntasmedia -a ", " --json -d sntrealtek -a ", " --json -d sat -a "}; for (string sSmartctlCommand : sSmartctlCommands) {