diff options
author | Mark Johnston <[email protected]> | 2023-12-27 15:17:53 -0500 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2024-01-30 13:33:36 -0800 |
commit | 9ef15845f5fd1fe83267712c4753d804703854ea (patch) | |
tree | b9f4a3c0c46b5af0be388012243d4d6a3ec57656 /lib | |
parent | 69142125d75b7405e0f1cf141dbe7913448daedf (diff) |
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 <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzutil/os/freebsd/zutil_import_os.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libzutil/os/freebsd/zutil_import_os.c b/lib/libzutil/os/freebsd/zutil_import_os.c index a134c173b..049710d39 100644 --- a/lib/libzutil/os/freebsd/zutil_import_os.c +++ b/lib/libzutil/os/freebsd/zutil_import_os.c @@ -263,3 +263,11 @@ update_vdevs_config_dev_sysfs_path(nvlist_t *config) { (void) config; } + +int +zpool_disk_wait(const char *path) +{ + + (void) path; + return (ENOTSUP); +} |