diff options
-rw-r--r-- | usr/src/cmd/mandoc/mdoc_validate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/mandoc/mdoc_validate.c b/usr/src/cmd/mandoc/mdoc_validate.c index a31310ec45..4ef95e28b8 100644 --- a/usr/src/cmd/mandoc/mdoc_validate.c +++ b/usr/src/cmd/mandoc/mdoc_validate.c @@ -3,7 +3,7 @@ * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2010 Joerg Sonnenberger <joerg@netbsd.org> - * Copyright 2018, Joyent, Inc. + * Copyright 2019 Joyent, Inc. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -2373,9 +2373,9 @@ post_sh_head(POST_ARGS) case SEC_ERRORS: if (*mdoc->meta.msec == '4') break; - if (*mdoc->meta.msec == '7' && *(mdoc->meta.msec + 1) == 'I') + if (*mdoc->meta.msec == '7') break; - goodsec = "2, 3, 4, 7I, 9"; + goodsec = "2, 3, 4, 7, 9"; /* FALLTHROUGH */ case SEC_RETURN_VALUES: case SEC_LIBRARY: |