diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-01 17:27:44 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-01 17:27:44 +0000 |
commit | c260eb4395a2cd23f14cc62494a102c005154610 (patch) | |
tree | 7a448e4d31ce74e7528c083c43017949e1d57a69 /man.c | |
parent | 89c4b06f4c8f02f6fac64246bbb71291d21f2529 (diff) | |
download | mandoc-c260eb4395a2cd23f14cc62494a102c005154610.tar.gz mandoc-c260eb4395a2cd23f14cc62494a102c005154610.tar.zst mandoc-c260eb4395a2cd23f14cc62494a102c005154610.zip |
mention requests and macros in more messages
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.135 2014/07/30 21:18:24 schwarze Exp $ */ +/* $Id: man.c,v 1.136 2014/08/01 17:27:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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); } |