summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-23 23:35:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-23 23:35:27 +0000
commit66861bd8ad64765972ebcbe5446042a89b6488a4 (patch)
treed847a46a9e740f615383f67e59d43843d7a7cc35 /usr.bin/mandoc/mandoc.h
parent5f11e83ec40e027d9941a83310ca46e5e32821c7 (diff)
fix the build (oops, sorry!):
sigvec(3) triggers MANDOCERR_BODYLOST, which must not be fatal
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r--usr.bin/mandoc/mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h
index 281b1e218a3..4c2986c37a7 100644
--- a/usr.bin/mandoc/mandoc.h
+++ b/usr.bin/mandoc/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.3 2010/05/23 22:45:00 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.4 2010/05/23 23:35:26 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 */