zdb: fix FreeBSD build failure

This fixes FreeBSD build failure with clang-18 after 23a489a got merged.

Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
This commit is contained in:
Ameer Hamza 2024-06-07 01:26:50 +05:00
parent 23a489a411
commit 78d01d955e
1 changed files with 1 additions and 1 deletions

View File

@ -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)