summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-05-24 01:41:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-05-24 01:41:31 +0000
commit3525f467452a38709580a683beac14972d3e25e8 (patch)
tree3228b37ddfcd8e8b09c59aa40fb745f6d352a6d4
parent0b1b72864709f6f64ee9b7b7ae62fc48c353b7bb (diff)
downloadmandoc-3525f467452a38709580a683beac14972d3e25e8.tar.gz
fix an obvious oversight introduced in rev. 1.5:
MANDOCERR_BODYLOST is not intended to be fatal; required to unbreak the OpenBSD build
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index cf6c7b15..15952549 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -72,7 +72,7 @@ enum mandocerr {
MANDOCERR_NOTITLE, /* no title in document */
MANDOCERR_ARGSLOST, /* line argument(s) will be lost */
MANDOCERR_BODYLOST, /* body argument(s) will be lost */
-#define MANDOCERR_ERROR MANDOCERR_ARGSLOST
+#define MANDOCERR_ERROR MANDOCERR_BODYLOST
/* FIXME: this should be a MANDOCERR_ERROR */
MANDOCERR_FONTTYPE, /* missing font type */