summaryrefslogtreecommitdiffstats
path: root/tbl_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_opts.c')
-rw-r--r--tbl_opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_opts.c b/tbl_opts.c
index 70fd3dff..45d87372 100644
--- a/tbl_opts.c
+++ b/tbl_opts.c
@@ -80,7 +80,8 @@ arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key)
switch (key) {
case KEY_DELIM:
- mandoc_msg(MANDOCERR_TBLEQN, tbl->parse, ln, *pos, NULL);
+ mandoc_vmsg(MANDOCERR_TBLOPT_EQN, tbl->parse,
+ ln, *pos, "%.*s", len, p + *pos);
want = 2;
break;
case KEY_TAB: