summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-05-23 23:35:26 +0000
committerschwarze <schwarze@openbsd.org>2010-05-23 23:35:26 +0000
commit9c831963ef96202fc1bd3ba6c8117a5defff836e (patch)
tree1825abafd43146d43f0e5ed0030a9579e166802d
parentUnified error and warning message system for all of mandoc, (diff)
downloadwireguard-openbsd-9c831963ef96202fc1bd3ba6c8117a5defff836e.tar.xz
wireguard-openbsd-9c831963ef96202fc1bd3ba6c8117a5defff836e.zip
fix the build (oops, sorry!):
sigvec(3) triggers MANDOCERR_BODYLOST, which must not be fatal
-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 */