summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 86e5a267..e659f4d4 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -2029,9 +2029,11 @@ post_sh_head(POST_ARGS)
assert(mdoc->meta.msec);
switch (sec) {
- case (SEC_RETURN_VALUES):
- /* FALLTHROUGH */
case (SEC_ERRORS):
+ if (*mdoc->meta.msec == '4')
+ break;
+ /* FALLTHROUGH */
+ case (SEC_RETURN_VALUES):
/* FALLTHROUGH */
case (SEC_LIBRARY):
if (*mdoc->meta.msec == '2')