summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-10-26 23:34:39 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-10-26 23:34:39 +0000
commitbec831a18b4325adf2196602319e9dcec247642c (patch)
tree191393afd27d256f501d124ab774c88bb4dad18e /usr.bin/mandoc/main.c
parent8d0f4f576ff831763265456b29f971bb3e303d45 (diff)
Warn developers that .so is fragile and suggest using ln(1) instead;
throwing a warning here was suggested by Joerg Sonnenberger.
Diffstat (limited to 'usr.bin/mandoc/main.c')
-rw-r--r--usr.bin/mandoc/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c
index a8bd62f81af..2e31b3fd7cb 100644
--- a/usr.bin/mandoc/main.c
+++ b/usr.bin/mandoc/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.53 2010/10/26 22:48:07 schwarze Exp $ */
+/* $Id: main.c,v 1.54 2010/10/26 23:34:38 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -115,6 +115,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"macro not allowed in body",
/* related to document structure */
+ ".so is fragile, better use ln(1)",
"NAME section must come first",
"bad NAME section contents",
"manual name not yet set",