summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2014-07-12 17:06:06 +0000
committerjmc <jmc@openbsd.org>2014-07-12 17:06:06 +0000
commit1859795953860d70ebfc6d44e1b5abf61949fc76 (patch)
tree2ebc75c3eec1e053794d7c05ce4b42678bcda7e4 /lib/libc/sys
parentandone last (i hope) accept_rtadv sysctl remnant, also found by jmc (diff)
downloadwireguard-openbsd-1859795953860d70ebfc6d44e1b5abf61949fc76.tar.xz
wireguard-openbsd-1859795953860d70ebfc6d44e1b5abf61949fc76.zip
tweak previous;
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/sendsyslog.27
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/sendsyslog.2 b/lib/libc/sys/sendsyslog.2
index 0fa22e64a61..9d8c4c88c6f 100644
--- a/lib/libc/sys/sendsyslog.2
+++ b/lib/libc/sys/sendsyslog.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sendsyslog.2,v 1.1 2014/07/12 02:28:56 deraadt Exp $
+.\" $OpenBSD: sendsyslog.2,v 1.2 2014/07/12 17:06:06 jmc Exp $
.\"
.\" Copyright (c) 2014 Theo de Raadt
.\"
@@ -18,7 +18,7 @@
.Dt SENDSYSLOG 2
.Os
.Sh NAME
-.Nm sendsyslog ,
+.Nm sendsyslog
.Nd send a message to syslogd
.Sh SYNOPSIS
.Fd #include <sys/types.h>
@@ -34,13 +34,12 @@ without requiring the allocation of a socket.
This is used internally by
.Xr syslog_r 3 ,
so that messages can be sent during difficult situations.
-.Pp
.Sh RETURN VALUES
The call returns 0 on success, or \-1
if an error occurred.
.Sh ERRORS
.Fn sendsyslog
-fail if:
+can fail if:
.Bl -tag -width Er
.It Bq Er ENOTCONN
The message cannot be sent, likely because