summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-08-29 18:23:01 +0000
committermillert <millert@openbsd.org>2017-08-29 18:23:01 +0000
commit2193f5ce81d089b1369cacadacd7c6f32f989d6a (patch)
tree0828168ccdb8688ecbe6863ad9e83e44bce77a1b /lib/libc
parentrename sc_pipe to sc_outpipe to indicate it's direction as there'll come an (diff)
downloadwireguard-openbsd-2193f5ce81d089b1369cacadacd7c6f32f989d6a.tar.xz
wireguard-openbsd-2193f5ce81d089b1369cacadacd7c6f32f989d6a.zip
It is confusing to talk about priorities being ordered from high
to low when they are actually numbered in the opposite (numerical) order. Use "ordered by decreasing importance" instead. Also try to make it clear that LOG_UPTO uses the numerical priorities where a larger value means a lower priority. OK jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/syslog.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index a7962225600..74eb6382d36 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.33 2016/03/30 06:58:06 jmc Exp $
+.\" $OpenBSD: syslog.3,v 1.34 2017/08/29 18:23:01 millert Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 30 2016 $
+.Dd $Mdocdate: August 29 2017 $
.Dt SYSLOG 3
.Os
.Sh NAME
@@ -173,9 +173,7 @@ The
.Fa level
(ORed with the
.Fa facility )
-is selected from the following
-.Em ordered
-(high to low) list:
+is selected from the following list, ordered by decreasing importance:
.Bl -tag -width LOG_AUTHPRIV
.It Dv LOG_EMERG
A panic condition.
@@ -300,7 +298,9 @@ the mask for all priorities up to and including
.Fa toppri
is given by the macro
.Fn LOG_UPTO toppri .
-The default allows all priorities to be logged.
+The default allows all priorities to be logged, which
+corresponds to
+.Li setlogmask(LOG_UPTO(LOG_DEBUG)) .
.Pp
The
.Fn setlogmask_r