diff --git a/tests/tools/tool-file.c b/tests/tools/tool-file.c index 2654378..5d84a0d 100644 --- a/tests/tools/tool-file.c +++ b/tests/tools/tool-file.c @@ -63,7 +63,7 @@ int cosms_core_tool_file_generate_delete_file(void) { fclose(file); - fopen_s(&file, LARGE_DELETE_FILE_PATH, "wb"); + file = fopen(LARGE_DELETE_FILE_PATH, "wb"); if (file == NULL) { return -1; }