mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
zdb: fix FreeBSD build failure
This fixes FreeBSD build failure with clang-18 after 23a489a
got merged.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #16252
This commit is contained in:
parent
23a489a411
commit
b558f0a9d6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user