Appease gcc -Werror=format-security. (closes: #646321)

Patch from 0.5.3-3ubuntu1 to appease gcc -Werror=format-security,
provided by Colin Watson.
This commit is contained in:
Tatsuya Kinoshita
2011-10-30 15:11:39 +09:00
parent 5397d09e58
commit 301a979961
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}