summaryrefslogtreecommitdiffstats
path: root/man.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 /man.c
parent120073f11aa98a6e6187a5bd14df4505cfe2c087 (diff)
downloadmandoc-85ebc4c346a67252f8e7e3a1c4326920984c01e7.tar.gz
mention requests and macros in more messages
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.c b/man.c
index 5be6ad4a..e3bedb7a 100644
--- a/man.c
+++ b/man.c
@@ -496,8 +496,8 @@ man_pmacro(struct man *man, int ln, char *buf, int offs)
tok = (i > 0 && i < 4) ? man_hash_find(mac) : MAN_MAX;
if (MAN_MAX == tok) {
- mandoc_vmsg(MANDOCERR_MACRO, man->parse, ln, ppos,
- "%s", buf + ppos - 1);
+ mandoc_msg(MANDOCERR_MACRO, man->parse,
+ ln, ppos, buf + ppos - 1);
return(1);
}