aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
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
commit284fd60184af10ebddfefe0094be27494174be92 (patch)
tree756af57b655378d805d8d7f43f490359be42781f /mandoc.h
parent935e035c2693c5e3a5e99f7563e25a28b15f0330 (diff)
downloadmandoc-284fd60184af10ebddfefe0094be27494174be92.tar.gz
mandoc-284fd60184af10ebddfefe0094be27494174be92.tar.zst
mandoc-284fd60184af10ebddfefe0094be27494174be92.zip
fix an obvious oversight introduced in rev. 1.5:
MANDOCERR_BODYLOST is not intended to be fatal; required to unbreak the OpenBSD build
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 36a39411..e8c4dd60 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.5 2010/05/17 22:11:42 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.6 2010/05/24 01:41:31 schwarze Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 */