aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/draid.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/zfs-tests/cmd/draid.c b/tests/zfs-tests/cmd/draid.c
index 6f4ecd5ef..618cb9c4d 100644
--- a/tests/zfs-tests/cmd/draid.c
+++ b/tests/zfs-tests/cmd/draid.c
@@ -1312,14 +1312,11 @@ static int
draid_merge(int argc, char *argv[])
{
char filename[MAXPATHLEN] = {0};
- int c, error, total_merged = 0, verbose = 0;
+ int c, error, total_merged = 0;
nvlist_t *allcfgs;
- while ((c = getopt(argc, argv, ":v")) != -1) {
+ while ((c = getopt(argc, argv, ":")) != -1) {
switch (c) {
- case 'v':
- verbose++;
- break;
case ':':
(void) fprintf(stderr,
"missing argument for '%c' option\n", optopt);