Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 23:12:30 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r333616 - in stable/11: lib/libc/gen share/man/man9
Message-ID:  <201805142312.w4ENCUSl031387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Mon May 14 23:12:30 2018
New Revision: 333616
URL: https://svnweb.freebsd.org/changeset/base/333616

Log:
  MFC r332317, r332439, r332442
  
  Approved by:	re
  
  r332317:
  [man] Fix return type of BUS_ADD_CHILD(9)
  
  Fix return type of BUS_ADD_CHILD(9) in SYNOPSYS section,
  it should be device_t, not int
  
  PR:		207389
  
  r332439:
  Fix quotes in the example code in syslog(3) BUGS section
  
  mdoc treats verbatim quotes in .Dl as a string delimiter and does
  not pass them to the rendered output. Use special char \*q to specify
  double quote
  
  PR:		216755
  
  r332442:
  Bump .Dd value (forgot to do this in r332439)

Modified:
  stable/11/lib/libc/gen/syslog.3
  stable/11/share/man/man9/BUS_ADD_CHILD.9
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/gen/syslog.3
==============================================================================
--- stable/11/lib/libc/gen/syslog.3	Mon May 14 22:56:41 2018	(r333615)
+++ stable/11/lib/libc/gen/syslog.3	Mon May 14 23:12:30 2018	(r333616)
@@ -28,7 +28,7 @@
 .\"     @(#)syslog.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 21, 2015
+.Dd April 12, 2018
 .Dt SYSLOG 3
 .Os
 .Sh NAME
@@ -292,4 +292,4 @@ for later interpolation by
 .Pp
 Always use the proper secure idiom:
 .Pp
-.Dl syslog(priority, "%s", string);
+.Dl syslog(priority, \*q%s\*q, string);

Modified: stable/11/share/man/man9/BUS_ADD_CHILD.9
==============================================================================
--- stable/11/share/man/man9/BUS_ADD_CHILD.9	Mon May 14 22:56:41 2018	(r333615)
+++ stable/11/share/man/man9/BUS_ADD_CHILD.9	Mon May 14 23:12:30 2018	(r333616)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 28, 2015
+.Dd April 8, 2018
 .Dt BUS_ADD_CHILD 9
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@
 .Sh SYNOPSIS
 .In sys/param.h
 .In sys/bus.h
-.Ft int
+.Ft device_t
 .Fn BUS_ADD_CHILD "device_t dev" "int order" "const char *name" "int unit"
 .Sh DESCRIPTION
 The



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