aboutsummaryrefslogtreecommitdiffstats
path: root/w3mbookmark.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-10-30 06:11:39 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-10-30 06:11:39 +0000
commit301a9799615268cd517793ce1f368ef95df14410 (patch)
tree53ce62d04dee8ffee4f6a032a828a36a55cde68a /w3mbookmark.c
parentAdding upstream version 0.5.3 (diff)
downloadw3m-301a9799615268cd517793ce1f368ef95df14410.tar.gz
w3m-301a9799615268cd517793ce1f368ef95df14410.zip
Appease gcc -Werror=format-security. (closes: #646321)
Patch from 0.5.3-3ubuntu1 to appease gcc -Werror=format-security, provided by Colin Watson.
Diffstat (limited to 'w3mbookmark.c')
-rw-r--r--w3mbookmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w3mbookmark.c b/w3mbookmark.c
index 4355536..fcbad11 100644
--- a/w3mbookmark.c
+++ b/w3mbookmark.c
@@ -99,7 +99,7 @@ create_new_bookmark(char *bmark, char *section, char *title, char *url,
fprintf(f, "<body>\n<h1>Bookmarks</h1>\n");
fprintf(f, "<h2>%s</h2>\n<ul>\n", section);
fprintf(f, "<li><a href=\"%s\">%s</a>\n", url, title);
- fprintf(f, end_section);
+ fprintf(f, "%s", end_section);
fprintf(f, "</ul>\n</body>\n</html>\n");
fclose(f);
}