Fix dereferencing strings.

This commit is contained in:
2021-03-14 18:12:56 +00:00
parent 4b75cd3e71
commit b1f7226cfa
17 changed files with 110 additions and 110 deletions

View File

@@ -71,7 +71,7 @@ void MillionFiles(const char* path)
for(pos = 0; pos < 1000; pos++)
{
memset(&filename, 0, 9);
memset(filename, 0, 9);
sprintf(filename, "%08ld", pos);
h = fopen(filename, "w+");