diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-04 14:40:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-04 14:40:31 +0000 |
commit | a9b1751368b8c68b9ffecaf639e1ea0b620025b4 (patch) | |
tree | 0fe798fb390775b805cdad63eefaa577bdb985c5 /usr.bin/mandoc/read.c | |
parent | e87976aa14cc7ade1f6466c4a183dc8b70071cbe (diff) |
Printing "BASE:" in messages about violations of base system conventions
is confusing, simply print "STYLE:", which is intuitive and does not
sound excessively alarming; suggested by jmc@, OK tedu@ jmc@.
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index 6853493da5a..c7ee01560a9 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.159 2017/07/03 17:33:01 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.160 2017/07/04 14:40:30 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -71,7 +71,7 @@ static void mparse_parse_buffer(struct mparse *, struct buf, static const enum mandocerr mandoclimits[MANDOCLEVEL_MAX] = { MANDOCERR_OK, - MANDOCERR_STYLE, + MANDOCERR_OK, MANDOCERR_WARNING, MANDOCERR_ERROR, MANDOCERR_UNSUPP, |