summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2015-07-21 09:44:45 +0000
committerpluknet <pluknet@FreeBSD.org>2015-07-21 09:44:45 +0000
commit7117e1104e17e73cd1e89f369a3e364a5ee8fabc (patch)
tree5dcc4e3fb2d774c8b295f735b8ef2fe2c783cfa1 /lib
parentfe22e50b1c97f74f27602425fa1d605aa5b5e165 (diff)
downloadFreeBSD-src-7117e1104e17e73cd1e89f369a3e364a5ee8fabc.zip
FreeBSD-src-7117e1104e17e73cd1e89f369a3e364a5ee8fabc.tar.gz
Add missing priority argument in example code in BUGS section.
PR: 201725 Submitted by: Thomas Cort MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/syslog.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 91404a3..b513adc 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -28,7 +28,7 @@
.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd December 30, 2004
+.Dd July 21, 2015
.Dt SYSLOG 3
.Os
.Sh NAME
@@ -292,4 +292,4 @@ for later interpolation by
.Pp
Always use the proper secure idiom:
.Pp
-.Dl syslog("%s", string);
+.Dl syslog(priority, "%s", string);
OpenPOWER on IntegriCloud