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, 1 insertions, 2 deletions
diff --git a/man_validate.c b/man_validate.c
index 12ba6e22..b3356ccb 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -211,9 +211,8 @@ post_OP(CHKARGS)
static void
post_UR(CHKARGS)
{
-
if (n->type == ROFFT_HEAD && n->child == NULL)
- mandoc_vmsg(MANDOCERR_UR_NOHEAD, man->parse,
+ mandoc_msg(MANDOCERR_UR_NOHEAD, man->parse,
n->line, n->pos, roff_name[n->tok]);
check_part(man, n);
}