C++: Fix a test case.

This commit is contained in:
Geoffrey White
2025-02-19 18:12:40 +00:00
parent 0ca9b2285b
commit c36e91855f

View File

@@ -38,7 +38,7 @@ void test2(char* arg2) {
char *envCC = getenv("CC");
char command[1000];
sprintf("%s %s", envCC, arg2);
sprintf(command, "%s %s", envCC, arg2);
system(command);
}