HomeFreeBSD

zfs: Fix build on 32-bit platforms after most recent import.

Description

zfs: Fix build on 32-bit platforms after most recent import.

unsigned long is not a uint64_t on 32-bit platforms. The zfs.4
manpage documents this variable as a uint, and it is only compared
with other variables of type int, so uint_t makes more sense than
unsigned long.

(I also wasn't sure if ULONG would work as a ZFS_MODULE_PARAM type
on other OS's)

Details

Provenance
jhbAuthored on May 25 2023, 2:11 PM
Parents
rGfd96685a4a57: Revert "When stopping powerd, set the CPU frequency back to its maximum value"
Branches
Unknown
Tags
Unknown