summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
diff options
context:
space:
mode:
author vadosnaprimer <feos-theos@yandex.ru>2017-12-12 00:43:07 +0300
committer vadosnaprimer <feos-theos@yandex.ru>2017-12-12 00:43:07 +0300
commit4feda9bf3ea36f141d6885f9f670217c6054d888 (patch)
tree821cf1e52789a13d136ef2f9d5b14bb1a6eca3bc /src/emu/debug/debughlp.cpp
parent5ebdc209af99dad33c4606d3c2b548dcc7feaf39 (diff)
debughlp - fix gcc build
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r--src/emu/debug/debughlp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp
index 26cc81fbefc..e839df2a9b3 100644
--- a/src/emu/debug/debughlp.cpp
+++ b/src/emu/debug/debughlp.cpp
@@ -1658,7 +1658,7 @@ bool debug_generate_html()
HTML_TRY(fprintf(file, "<a name=\"Top\"></a>%s%s<br>", debug_buffer.c_str(), html_preopen.c_str()));
/* close the tag opened in the header */
- HTML_TRY(fprintf(file, html_preclose.c_str()));
+ HTML_TRY(fprintf(file, "%s", html_preclose.c_str()));
/* sort the tags */
for (int i = 1; i < ARRAY_LENGTH(static_help_list); i++)
@@ -1685,7 +1685,7 @@ bool debug_generate_html()
}
/* close the html tag and the file */
- HTML_TRY(fprintf(file, html_preclose.c_str()));
+ HTML_TRY(fprintf(file, "%s", html_preclose.c_str()));
if (fclose(file))
return false;
return true;