Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 09:44:46 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285739 - head/lib/libc/gen
Message-ID:  <201507210944.t6L9ikcx068929@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507210944.t6L9ikcx068929>