aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/os/freebsd
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-11 01:06:29 +0100
committerBrian Behlendorf <[email protected]>2021-12-21 12:05:11 -0800
commitab860757f59e8a219a9e1d3e5e09c4dcfbeff8d4 (patch)
tree9d8e64214828bcd330aedb1af5abf94d6746669e /cmd/zpool/os/freebsd
parente40ca391f8d20ef75039ddcd33a9c833a3fac103 (diff)
zpool: vdev_os: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12835
Diffstat (limited to 'cmd/zpool/os/freebsd')
-rw-r--r--cmd/zpool/os/freebsd/zpool_vdev_os.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/zpool/os/freebsd/zpool_vdev_os.c b/cmd/zpool/os/freebsd/zpool_vdev_os.c
index 66bfe28f1..8ebd3e60d 100644
--- a/cmd/zpool/os/freebsd/zpool_vdev_os.c
+++ b/cmd/zpool/os/freebsd/zpool_vdev_os.c
@@ -86,6 +86,7 @@ int
check_device(const char *name, boolean_t force, boolean_t isspare,
boolean_t iswholedisk)
{
+ (void) iswholedisk;
char path[MAXPATHLEN];
if (strncmp(name, _PATH_DEV, sizeof (_PATH_DEV) - 1) != 0)
@@ -99,6 +100,7 @@ check_device(const char *name, boolean_t force, boolean_t isspare,
boolean_t
check_sector_size_database(char *path, int *sector_size)
{
+ (void) path, (void) sector_size;
return (0);
}