Fix compiler warning

This commit is contained in:
Alex Kotov 2019-06-11 20:20:12 +05:00
parent 7503d94d44
commit 7caf1b9d7e
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -110,7 +110,7 @@ void displayRoundNumber(int level, unsigned int i)
void displayText(int level, const char *text) void displayText(int level, const char *text)
{ {
if ((intermediateValueFile) && (level <= displayLevel)) { if ((intermediateValueFile) && (level <= displayLevel)) {
fprintf(intermediateValueFile, text); fprintf(intermediateValueFile, "%s", text);
fprintf(intermediateValueFile, "\n"); fprintf(intermediateValueFile, "\n");
fprintf(intermediateValueFile, "\n"); fprintf(intermediateValueFile, "\n");
} }