summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index d39645bf..22e88f04 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1153,7 +1153,7 @@ post_sh_body(POST_ARGS)
{
struct mdoc_node *n;
- if (SEC_NAME != mdoc->lastnamed)
+ if (SEC_NAME != mdoc->lastsec)
return(1);
/*