aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitadc3be19ec3ddf59cd25426c2002ceffca319207 (patch)
tree1c093cc8afa840d75c775a44bceb4819b2395b43 /mdoc_validate.c
parent47e381136c9a2594ff3f832564011758c1fe47fc (diff)
downloadmandoc-adc3be19ec3ddf59cd25426c2002ceffca319207.tar.gz
mandoc-adc3be19ec3ddf59cd25426c2002ceffca319207.tar.zst
mandoc-adc3be19ec3ddf59cd25426c2002ceffca319207.zip
Fixed segfault in `Rs' empty block.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 80277fc2..974d6448 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.43 2009/09/24 15:01:06 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.44 2009/09/24 15:08:41 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 };