tests: Prefer tf_printf.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 3m33s
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 3m33s
This commit is contained in:
@ -40,8 +40,7 @@ static void _write_file(const char* path, const char* contents)
|
||||
FILE* file = fopen(path, "w");
|
||||
if (!file)
|
||||
{
|
||||
printf("Unable to write %s: %s.\n", path, strerror(errno));
|
||||
fflush(stdout);
|
||||
tf_printf("Unable to write %s: %s.\n", path, strerror(errno));
|
||||
abort();
|
||||
}
|
||||
fputs(contents, file);
|
||||
|
Reference in New Issue
Block a user