diff options
author | Joerg Sonnenberger <joerg@netbsd.org> | 2014-01-05 19:10:56 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@netbsd.org> | 2014-01-05 19:10:56 +0000 |
commit | 5e614e747c24e529f84dbfb18721534f909128e9 (patch) | |
tree | 6b95f33544f611ed2bc6889a77a346526e7c4d0e /html.c | |
parent | bfc2a1a7b08ccfe41610d07abb12b2eca5139716 (diff) | |
download | mandoc-5e614e747c24e529f84dbfb18721534f909128e9.tar.gz |
Tag functions with format strings as arguments as printf-like.
Fix one case where a non-literal is used as format string.
Fix another case where a variable is formatted using the wrong type.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -722,7 +722,7 @@ buffmt_man(struct html *h, bufcat(h, sec ? sec : "1"); break; case('N'): - bufcat_fmt(h, name); + bufcat_fmt(h, "%s", name); break; default: bufncat(h, p, 2); |