project cleanup

This commit is contained in:
2020-05-02 22:06:47 +02:00
parent fdfdd0ca93
commit c22ca646a1
23 changed files with 282 additions and 173 deletions

View File

@ -1,11 +1,11 @@
/**
* @file smart.cpp
* @brief read S.M.A.R.T values
* @author hendrik schutter
* @date 01.05.2020
* @file smart.cpp
* @brief read S.M.A.R.T values
* @author hendrik schutter
* @date 01.05.2020
*/
#include "smart.h"
#include "../include/reHDD.h"
string SMART::modelFamily;
string SMART::modelName;
@ -33,7 +33,7 @@ void SMART::readSMARTData(Drive* drive)
size_t len = 0; //lenght of found line
char* cLine = NULL; //found line
string sCMD = ("./smartctl --json -a ");
string sCMD = ("./bin_util/smartctl --json -a ");
sCMD.append(drive->getPath());
const char* cpComand = sCMD.c_str();