summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:08:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:08:41 +0000
commitebd4be96b56a3d4e04046b081170572db14b80a8 (patch)
treea0471ba87e28c7a14c9aa3764ba6485698313f27 /mdoc_validate.c
parent215f2a8cd001a0927cb5bbb0dd41bd37b8da20df (diff)
downloadmandoc-ebd4be96b56a3d4e04046b081170572db14b80a8.tar.gz
Fixed segfault in `Rs' empty block.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index abc32752..83add494 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -126,7 +126,7 @@ static v_post posts_nd[] = { berr_ge1, NULL };
static v_post posts_nm[] = { post_nm, NULL };
static v_post posts_notext[] = { eerr_eq0, NULL };
static v_post posts_pf[] = { eerr_eq1, NULL };
-static v_post posts_rs[] = { bwarn_ge1, herr_eq0, post_rs, NULL };
+static v_post posts_rs[] = { berr_ge1, herr_eq0, post_rs, NULL };
static v_post posts_sh[] = { herr_ge1, bwarn_ge1, post_sh, NULL };
static v_post posts_sp[] = { post_sp, NULL };
static v_post posts_ss[] = { herr_ge1, NULL };