Skip to content

Commit

Permalink
zdb: fix FreeBSD build failure
Browse files Browse the repository at this point in the history
This fixes FreeBSD build failure with clang-18 after 23a489a got merged.

Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
  • Loading branch information
ixhamza committed Jun 6, 2024
1 parent 23a489a commit 78d01d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 78d01d9

Please sign in to comment.