summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 16:41:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 16:41:33 +0000
commitc88cf8bbb5543c05396902ef2fca25d27efcec5b (patch)
tree14da55d4a3efc28803286603ccf6c2a821696336
parentbda49a7856bd1000a0e330e4a73d8887cdbeacf2 (diff)
downloadmandoc-c88cf8bbb5543c05396902ef2fca25d27efcec5b.tar.gz
Check for NAME sanity fixed (last named section -> last section).
-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);
/*