Skip to content

Commit

Permalink
Replace fprintf(3) to stdout with printf(3)
Browse files Browse the repository at this point in the history
Patch from John Fitzgerald
  • Loading branch information
lipnitsk committed Nov 8, 2017
1 parent b04daa7 commit 9a992c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ static void cd_track_dump(Track *track)

if (track->rem != NULL)
{
fprintf(stdout, "rem:\n");
printf("rem:\n");
rem_dump(track->rem);
}
}
Expand All @@ -403,7 +403,7 @@ void cd_dump(Cd *cd)

if (cd->rem != NULL)
{
fprintf(stdout, "rem:\n");
printf("rem:\n");
rem_dump(cd->rem);
}

Expand Down
2 changes: 1 addition & 1 deletion rem.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ rem_dump( Rem* rem)

do
{
fprintf(stdout, "REM %u: %s\n", rem->cmt, rem->value);
printf("REM %u: %s\n", rem->cmt, rem->value);
} while ((++rem)->cmt != REM_END);
}

0 comments on commit 9a992c6

Please sign in to comment.