diff options
author | 2009-07-18 16:21:52 +0000 | |
---|---|---|
committer | 2009-07-18 16:21:52 +0000 | |
commit | f8c9d6f2dbb05d5ac3f3692f40c5fdb8d7473f0e (patch) | |
tree | 0f7815f3f111da1829368c2a8c647a474790c4c8 /usr.bin/mandoc/mdoc_validate.c | |
parent | Don't forget to read the high bits I/O range register when registering (diff) | |
download | wireguard-openbsd-f8c9d6f2dbb05d5ac3f3692f40c5fdb8d7473f0e.tar.xz wireguard-openbsd-f8c9d6f2dbb05d5ac3f3692f40c5fdb8d7473f0e.zip |
sync to 1.8.0: avoid duplicate warning about a malformed NAME section
when the next section following NAME is a custom section
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 2f8a930005a..16d3c35412b 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.25 2009/07/18 15:34:27 schwarze Exp $ */ +/* $Id: mdoc_validate.c,v 1.26 2009/07/18 16:21:52 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1148,7 +1148,7 @@ post_sh_body(POST_ARGS) { struct mdoc_node *n; - if (SEC_NAME != mdoc->lastnamed) + if (SEC_NAME != mdoc->lastsec) return(1); /* |