fix pointer (again)
This commit is contained in:
+2
-1
@@ -229,7 +229,8 @@ int Shred::shredDrive(Drive* drive, int* ipSignalFd)
|
||||
#endif
|
||||
|
||||
#ifndef DRYRUN
|
||||
const char* cpDrivePath = drive->getPath().c_str();
|
||||
string sDrivePath = drive->getPath();
|
||||
const char *cpDrivePath = sDrivePath.c_str();
|
||||
unsigned char ucKey[TFNG_KEY_SIZE];
|
||||
|
||||
#ifdef ADAPTIVE_CHUNK_SIZE
|
||||
|
||||
Reference in New Issue
Block a user