From 6820cbed71f92ad30b751d792772f349addd0293 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 15 May 2020 13:52:39 +0000 Subject: [PATCH] Revert r361077 to recommit with proper message. --- sys/kern/kern_mib.c | 5 ++--- 1 file 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];