diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 9d4d12844..b96fbe4ac 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -3059,7 +3059,7 @@ int zpool_do_list(int argc, char **argv) { int c; - int ret; + int ret = 0; list_cbdata_t cb = { 0 }; static char default_props[] = "name,size,allocated,free,capacity,dedupratio,"