summaryrefslogtreecommitdiffstats
path: root/covoar/ReportsHtml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'covoar/ReportsHtml.cc')
-rw-r--r--covoar/ReportsHtml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/covoar/ReportsHtml.cc b/covoar/ReportsHtml.cc
index 162b74c..101c76b 100644
--- a/covoar/ReportsHtml.cc
+++ b/covoar/ReportsHtml.cc
@@ -469,7 +469,7 @@ namespace Coverage {
// format. If it has changed close out the old format and open up the
// new format.
if ( state != lastState_m ) {
- fprintf( aFile, stateText.c_str() );
+ fprintf( aFile, "%s", stateText.c_str() );
lastState_m = state;
}