fix pointer (again)

This commit is contained in:
2026-05-01 15:22:35 +02:00
parent 42a1567b32
commit e017aeca0b
+2 -1
View File
@@ -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