aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs/os/freebsd
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-02-16 13:09:27 +0100
committerBrian Behlendorf <[email protected]>2022-02-18 09:34:08 -0800
commit46c7a80280a5d36a9bc1b167ceadc316196965df (patch)
treeb875f3710fb90940a3639b85b77461f41adf4b2a /lib/libzfs/os/freebsd
parentef70eff1982228862ef9ad70f21b222cde06eb5e (diff)
userspace: mark arguments used
Reviewed-by: Alejandro Colomar <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13110
Diffstat (limited to 'lib/libzfs/os/freebsd')
-rw-r--r--lib/libzfs/os/freebsd/libzfs_compat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libzfs/os/freebsd/libzfs_compat.c b/lib/libzfs/os/freebsd/libzfs_compat.c
index e3f17662a..cb5a27c64 100644
--- a/lib/libzfs/os/freebsd/libzfs_compat.c
+++ b/lib/libzfs/os/freebsd/libzfs_compat.c
@@ -42,6 +42,7 @@ void
libzfs_set_pipe_max(int infd)
{
/* FreeBSD automatically resizes */
+ (void) infd;
}
static int
@@ -251,24 +252,28 @@ libzfs_load_module(void)
int
zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg)
{
+ (void) hdl, (void) path, (void) msg;
return (0);
}
int
zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name)
{
+ (void) hdl, (void) zhp, (void) name;
return (0);
}
int
find_shares_object(differ_info_t *di)
{
+ (void) di;
return (0);
}
int
zfs_destroy_snaps_nvl_os(libzfs_handle_t *hdl, nvlist_t *snaps)
{
+ (void) hdl, (void) snaps;
return (0);
}