Skip to content

Commit

Permalink
Fix the fputs() arguments
Browse files Browse the repository at this point in the history
Whoopsie. Should have checked fputs(3), and should have checked the CI
pipeline on Windows.
  • Loading branch information
ebassi committed Aug 12, 2019
1 parent 3c2ccf8 commit 822b5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutest-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ mutest_print (FILE *stream,
{
#ifdef OS_WINDOWS
if (fragment[0] != '\0')
fputs (stream, fragment);
fputs (fragment, stream);
#else
if (fragment[0] != '\0')
write (fileno (stream), fragment, strlen (fragment));
Expand Down

0 comments on commit 822b5dd

Please sign in to comment.