fix pointer

This commit is contained in:
2026-05-01 13:09:00 +02:00
parent 5e50c5f489
commit add2d3ba30
+2 -1
View File
@@ -72,7 +72,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];
// Open random source