summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-01 17:27:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-01 17:27:44 +0000
commit85ebc4c346a67252f8e7e3a1c4326920984c01e7 (patch)
treeeb357aa2d9480946318b9ecccf29e86489a2862c /mdoc.c
parent120073f11aa98a6e6187a5bd14df4505cfe2c087 (diff)
downloadmandoc-85ebc4c346a67252f8e7e3a1c4326920984c01e7.tar.gz
mention requests and macros in more messages
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.c b/mdoc.c
index c07c712b..ba5bad7c 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -838,8 +838,8 @@ mdoc_pmacro(struct mdoc *mdoc, int ln, char *buf, int offs)
tok = (i > 1 && i < 4) ? mdoc_hash_find(mac) : MDOC_MAX;
if (MDOC_MAX == tok) {
- mandoc_vmsg(MANDOCERR_MACRO, mdoc->parse,
- ln, sv, "%s", buf + sv - 1);
+ mandoc_msg(MANDOCERR_MACRO, mdoc->parse,
+ ln, sv, buf + sv - 1);
return(1);
}