Fix a call of fprintf().

This commit is contained in:
Daniel Spiljar 2023-02-10 17:23:28 +01:00
parent 654d98cbb4
commit f7bdabb29d
Signed by: dspiljar
GPG Key ID: A32CE9C59D8003B5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void
print_wrap (char *str, int len, int *n)
{
*n += len;
fprintf (stdout, str);
fprintf (stdout, "%s", str);
if (*n >= 50)
{
fprintf (stdout, "\n");