svn commit: r285739 - head/lib/libc/gen

Sergey Kandaurov pluknet at FreeBSD.org
Tue Jul 21 09:44:46 UTC 2015


Author: pluknet
Date: Tue Jul 21 09:44:45 2015
New Revision: 285739
URL: https://svnweb.freebsd.org/changeset/base/285739

Log:
  Add missing priority argument in example code in BUGS section.
  
  PR:		201725
  Submitted by:	Thomas Cort
  MFC after:	1 week

Modified:
  head/lib/libc/gen/syslog.3

Modified: head/lib/libc/gen/syslog.3
==============================================================================
--- head/lib/libc/gen/syslog.3	Tue Jul 21 07:22:18 2015	(r285738)
+++ head/lib/libc/gen/syslog.3	Tue Jul 21 09:44:45 2015	(r285739)
@@ -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);


More information about the svn-src-head mailing list