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