X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/2d23f9d73d7c9ceb3156d976b7c235b042824dda..9d568b7d9d058612eaec8cbbc8a2161cd895aa1a:/mdoc_validate.c diff --git a/mdoc_validate.c b/mdoc_validate.c index ea3a9a7d..1c5d8c9f 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.29 2009/07/12 16:41:33 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.30 2009/07/12 20:30:35 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1131,7 +1131,7 @@ post_st(POST_ARGS) if (mdoc_a2st(mdoc->last->child->string)) return(1); - return(mdoc_nwarn(mdoc, mdoc->last, EBADSTAND)); + return(mdoc_nerr(mdoc, mdoc->last, EBADSTAND)); }