Fix the FreeBSD userspace build (#15716)
commit07e95b4670dc421ec726a2b4efa97a22fe572005
authorMark Johnston <markjdb@gmail.com>
Wed, 27 Dec 2023 20:17:53 +0000 (27 15:17 -0500)
committerGitHub <noreply@github.com>
Wed, 27 Dec 2023 20:17:53 +0000 (27 12:17 -0800)
tree134271a09ef92fb67fb533b35086005aec7f5819
parent4cf4bc7334acf145daf6f7f894fbb333710c1cc9
Fix the FreeBSD userspace build (#15716)

- Mark some parameters to zpool_power*() as unused.
- Add a stub zpool_disk_wait().

Fixes: a9520e6e5 ("zpool: Add slot power control, print power status")

Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
cmd/zpool/os/freebsd/zpool_vdev_os.c
lib/libzutil/os/freebsd/zutil_import_os.c