mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix dereferencing strings.
This commit is contained in:
@@ -88,8 +88,8 @@ void MillionFiles(const char* path)
|
||||
|
||||
for(pos = 0; pos < 5000; pos++)
|
||||
{
|
||||
memset(&filename, 0, 9);
|
||||
sprintf((char*)filename, "%08d", pos);
|
||||
memset(filename, 0, 9);
|
||||
sprintf(filename, "%08d", pos);
|
||||
str255[0] = 8;
|
||||
memcpy(str255 + 1, filename, 8);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user