summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2016-08-01 16:24:46 +0000
committervangyzen <vangyzen@FreeBSD.org>2016-08-01 16:24:46 +0000
commit69b14c33edfcafee36be6702fafb7284adb9e4b1 (patch)
treeeec1d3440196532e1360fc8f1fd197a1014d18a7
parenta53bbc9512a876f251026f8f275b376d68a8d48e (diff)
downloadFreeBSD-src-69b14c33edfcafee36be6702fafb7284adb9e4b1.zip
FreeBSD-src-69b14c33edfcafee36be6702fafb7284adb9e4b1.tar.gz
MFC r303519
Fix two return types in the cpuset(9) and bitset(9) man pages The *_FFS() and *_COUNT() functions return int, not size_t. Approved by: re (gjb) Sponsored by: Dell Inc.
-rw-r--r--share/man/man9/bitset.96
-rw-r--r--share/man/man9/cpuset.96
2 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/bitset.9 b/share/man/man9/bitset.9
index 19f53a2..cddd2e7 100644
--- a/share/man/man9/bitset.9
+++ b/share/man/man9/bitset.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 20, 2015
+.Dd August 1, 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
diff --git a/share/man/man9/cpuset.9 b/share/man/man9/cpuset.9
index fb0a9fc..1a4aeca 100644
--- a/share/man/man9/cpuset.9
+++ b/share/man/man9/cpuset.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 20, 2015
+.Dd August 1, 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
OpenPOWER on IntegriCloud