From nobody@FreeBSD.org  Thu Feb 21 12:17:49 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 1FF541B21
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 12:17:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id F38EC665
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 12:17:48 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1LC2GYO064830
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 12:02:16 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1LC2GhZ064829;
	Thu, 21 Feb 2013 12:02:16 GMT
	(envelope-from nobody)
Message-Id: <201302211202.r1LC2GhZ064829@red.freebsd.org>
Date: Thu, 21 Feb 2013 12:02:16 GMT
From: Bruce Cran <bruce@cran.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cpuset(2) refers to nonexistent CPU_SET(3)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176317
>Category:       docs
>Synopsis:       cpuset(2) refers to nonexistent CPU_SET(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 12:20:00 UTC 2013
>Closed-Date:    Sun Apr 21 06:47:19 UTC 2013
>Last-Modified:  Sun Apr 21 06:50:00 UTC 2013
>Originator:     Bruce Cran
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD router.wharfnet 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r245249: Thu Jan 10 10:03:43 GMT 2013     brucec@router.wharfnet:/usr/obj/usr/src/head/sys/ROUTER  amd64
>Description:
cpuset(2), cpuset_setaffinity(2) and cpuset_getaffinity(2) refer to the nonexistent CPU_SET(3).

Also, cpuset_setaffinity(2) and cpuset_getaffinity(2) claim to be CPUSET(2) in the man page header.
>How-To-Repeat:
man 2 cpuset
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->joel  
Responsible-Changed-By: joel 
Responsible-Changed-When: Sat Apr 20 22:41:02 UTC 2013 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176317 
State-Changed-From-To: open->closed 
State-Changed-By: joel 
State-Changed-When: Sun Apr 21 06:46:49 UTC 2013 
State-Changed-Why:  
Fixed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176317 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/176317: commit references a PR
Date: Sun, 21 Apr 2013 06:46:50 +0000 (UTC)

 Author: joel (doc committer)
 Date: Sun Apr 21 06:46:41 2013
 New Revision: 249716
 URL: http://svnweb.freebsd.org/changeset/base/249716
 
 Log:
   Remove cross-references to nonexistent CPU_SET(3) manpage.
   Also fix cpu_getaffinity(2) document title.
   
   PR:		176317
   Submitted by:	brucec
 
 Modified:
   head/lib/libc/sys/cpuset.2
   head/lib/libc/sys/cpuset_getaffinity.2
   head/share/man/man3/pthread_affinity_np.3
   head/share/man/man3/pthread_attr_affinity_np.3
 
 Modified: head/lib/libc/sys/cpuset.2
 ==============================================================================
 --- head/lib/libc/sys/cpuset.2	Sun Apr 21 00:41:15 2013	(r249715)
 +++ head/lib/libc/sys/cpuset.2	Sun Apr 21 06:46:41 2013	(r249716)
 @@ -216,7 +216,6 @@ for allocation.
  .Xr cpuset 1 ,
  .Xr cpuset_getaffinity 2 ,
  .Xr cpuset_setaffinity 2 ,
 -.Xr CPU_SET 3 ,
  .Xr pthread_affinity_np 3 ,
  .Xr pthread_attr_affinity_np 3
  .Sh HISTORY
 
 Modified: head/lib/libc/sys/cpuset_getaffinity.2
 ==============================================================================
 --- head/lib/libc/sys/cpuset_getaffinity.2	Sun Apr 21 00:41:15 2013	(r249715)
 +++ head/lib/libc/sys/cpuset_getaffinity.2	Sun Apr 21 06:46:41 2013	(r249716)
 @@ -26,7 +26,7 @@
  .\" $FreeBSD$
  .\"
  .Dd September 10, 2010
 -.Dt CPUSET 2
 +.Dt CPUSET_GETAFFINITY 2
  .Os
  .Sh NAME
  .Nm cpuset_getaffinity ,
 @@ -69,7 +69,7 @@ All resources, however, have a mask whic
  Masks of type
  .Ft cpuset_t
  are composed using the
 -.Xr CPU_SET 2
 +.Dv CPU_SET
  macros.
  The kernel tolerates large sets as long as all CPUs specified
  in the set exist.
 @@ -152,7 +152,6 @@ operation.
  .Xr cpuset 2 ,
  .Xr cpuset_getid 2 ,
  .Xr cpuset_setid 2 ,
 -.Xr CPU_SET 3 ,
  .Xr pthread_affinity_np 3 ,
  .Xr pthread_attr_affinity_np 3
  .Sh HISTORY
 
 Modified: head/share/man/man3/pthread_affinity_np.3
 ==============================================================================
 --- head/share/man/man3/pthread_affinity_np.3	Sun Apr 21 00:41:15 2013	(r249715)
 +++ head/share/man/man3/pthread_affinity_np.3	Sun Apr 21 06:46:41 2013	(r249716)
 @@ -49,7 +49,7 @@ allow the manipulation of sets of CPUs a
  Masks of type
  .Ft cpuset_t
  are composed using the
 -.Xr CPU_SET 3
 +.Dv CPU_SET
  macros.
  The kernel tolerates large sets as long as all CPUs specified
  in the set exist.
 @@ -123,7 +123,6 @@ operation.
  .Xr cpuset 2 ,
  .Xr cpuset_getid 2 ,
  .Xr cpuset_setid 2 ,
 -.Xr CPU_SET 3 ,
  .Xr pthread 3 ,
  .Xr pthread_attr_getaffinity_np 3 ,
  .Xr pthread_attr_setaffinity_np 3
 
 Modified: head/share/man/man3/pthread_attr_affinity_np.3
 ==============================================================================
 --- head/share/man/man3/pthread_attr_affinity_np.3	Sun Apr 21 00:41:15 2013	(r249715)
 +++ head/share/man/man3/pthread_attr_affinity_np.3	Sun Apr 21 06:46:41 2013	(r249716)
 @@ -50,7 +50,7 @@ functions allow the manipulation of sets
  Masks of type
  .Ft cpuset_t
  are composed using the
 -.Xr CPU_SET 3
 +.Dv CPU_SET
  macros.
  The kernel tolerates large sets as long as all CPUs specified
  in the set exist.
 @@ -132,7 +132,6 @@ Insufficient memory exists to store the 
  .Xr cpuset 2 ,
  .Xr cpuset_getid 2 ,
  .Xr cpuset_setid 2 ,
 -.Xr CPU_SET 3 ,
  .Xr pthread_get_affinity_np 3 ,
  .Xr pthread_set_affinity_np 3
  .Sh STANDARDS
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
