aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-05-15 13:52:39 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-05-15 13:52:39 +0000
commit6820cbed71f92ad30b751d792772f349addd0293 (patch)
tree2de47f272c0edbb1b269b608af64d6e9a6df7bef
parente00594d962fc809c76220fa36b4740b052f3f6bb (diff)
downloadsrc-6820cbed71f92ad30b751d792772f349addd0293.tar.gz
src-6820cbed71f92ad30b751d792772f349addd0293.zip
Revert r361077 to recommit with proper message.
Notes
Notes: svn path=/head/; revision=361078
-rw-r--r--sys/kern/kern_mib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index c848172de6a6..d8c5ffbc8803 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -238,9 +238,8 @@ sysctl_hw_pagesizes(SYSCTL_HANDLER_ARGS)
if (req->flags & SCTL_MASK32) {
/*
- * Recreate the "pagesizes" array with 32-bit elements.
- * Truncate any page size greater than UINT32_MAX to zero,
- * which assumes that page sizes are powers of two.
+ * Recreate the "pagesizes" array with 32-bit elements. Truncate
+ * any page size greater than UINT32_MAX to zero.
*/
for (i = 0; i < MAXPAGESIZES; i++)
pagesizes32[i] = (uint32_t)pagesizes[i];