fix pointer
This commit is contained in:
+2
-1
@@ -72,7 +72,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];
|
||||||
|
|
||||||
// Open random source
|
// Open random source
|
||||||
|
|||||||
Reference in New Issue
Block a user