diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 2a3d58d77e..3a7ef11612 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -9185,7 +9185,7 @@ main(int argc, char **argv) libzfs_core_init() == 0) { char *pname = strdup(target); const char *value; - nvlist_t *pnvl; + nvlist_t *pnvl = NULL; nvlist_t *vnvl; if (strpbrk(pname, "/@") != NULL)