summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c
index 4303ad33..cd776387 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -230,7 +230,8 @@ check_text(CHKARGS)
cp = n->string;
for (p = cp; NULL != (p = strchr(p, '\t')); p++)
- man_pmsg(man, n->line, (int)(p - cp), MANDOCERR_BADTAB);
+ mandoc_msg(MANDOCERR_FI_TAB, man->parse,
+ n->line, n->pos + (p - cp), NULL);
}
#define INEQ_DEFINE(x, ineq, name) \