Author: vangyzen
Date: Fri Jul 29 21:12:48 2016
New Revision: 303519
URL: https://svnweb.freebsd.org/changeset/base/303519

Log:
  Fix two return types in the cpuset(9) and bitset(9) man pages
  
  The *_FFS() and *_COUNT() functions return int, not size_t.
  
  MFC after:    3 days
  Sponsored by: Dell Inc.

Modified:
  head/share/man/man9/bitset.9
  head/share/man/man9/cpuset.9

Modified: head/share/man/man9/bitset.9
==============================================================================
--- head/share/man/man9/bitset.9        Fri Jul 29 21:11:32 2016        
(r303518)
+++ head/share/man/man9/bitset.9        Fri Jul 29 21:12:48 2016        
(r303519)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 20, 2015
+.Dd July 29, 2016
 .Dt BITSET 9
 .Os
 .Sh NAME
@@ -77,9 +77,9 @@
 .Fn BIT_EMPTY "const SETSIZE" "struct STRUCTNAME *bitset"
 .Ft bool
 .Fn BIT_ISFULLSET "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft size_t
+.Ft int
 .Fn BIT_FFS "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft size_t
+.Ft int
 .Fn BIT_COUNT "const SETSIZE" "struct STRUCTNAME *bitset"
 .\"
 .Ft bool

Modified: head/share/man/man9/cpuset.9
==============================================================================
--- head/share/man/man9/cpuset.9        Fri Jul 29 21:11:32 2016        
(r303518)
+++ head/share/man/man9/cpuset.9        Fri Jul 29 21:12:48 2016        
(r303519)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 20, 2015
+.Dd July 29, 2016
 .Dt CPUSET 9
 .Os
 .Sh NAME
@@ -75,9 +75,9 @@
 .Fn CPU_EMPTY "cpuset_t *cpuset"
 .Ft bool
 .Fn CPU_ISFULLSET "cpuset_t *cpuset"
-.Ft size_t
+.Ft int
 .Fn CPU_FFS "cpuset_t *cpuset"
-.Ft size_t
+.Ft int
 .Fn CPU_COUNT "cpuset_t *cpuset"
 .\"
 .Ft bool
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to