From 8f7b707f599373c2757101b2c96b6ed9f4373c05 Mon Sep 17 00:00:00 2001 From: haad Date: Fri, 24 Dec 2010 16:13:58 +0000 Subject: [PATCH] libzfs_fru_clear was not ported to NetBSD disable it foor now. --- external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c b/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c index 8bf662466f54..bf9d6ed053b7 100644 --- a/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c +++ b/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c @@ -615,7 +615,9 @@ libzfs_fini(libzfs_handle_t *hdl) if (hdl->libzfs_log_str) (void) free(hdl->libzfs_log_str); zpool_free_handles(hdl); +#ifdef PORT_SOLARIS libzfs_fru_clear(hdl, B_TRUE); +#endif namespace_clear(hdl); libzfs_mnttab_fini(hdl); free(hdl);