Skip to content

Commit

Permalink
Update report.c
Browse files Browse the repository at this point in the history
Change a "printf" statement to "sprintf".
  • Loading branch information
LRossman committed Jun 14, 2024
1 parent 62f0bc6 commit 6ac4156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/report.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void writesummary(Project *pr)
if (qual->Qualflag == NONE || time->Dur == 0.0) sprintf(s, FMT29);
else if (qual->Qualflag == CHEM) sprintf(s, FMT30, qual->ChemName);
else if (qual->Qualflag == TRACE) sprintf(s, FMT31, net->Node[qual->TraceNode].ID);
else if (qual->Qualflag == AGE) printf(s, FMT32);
else if (qual->Qualflag == AGE) sprintf(s, FMT32);
writeline(pr, s);
if (qual->Qualflag != NONE && time->Dur > 0)
{
Expand Down

0 comments on commit 6ac4156

Please sign in to comment.