Illumos #734: Use taskq_dispatch_ent() interface
[zfs.git] / lib / libzfs / libzfs_config.c
index dc27238..f1ddac9 100644 (file)
@@ -101,7 +101,7 @@ namespace_reload(libzfs_handle_t *hdl)
        nvlist_t *config;
        config_node_t *cn;
        nvpair_t *elem;
-       zfs_cmd_t zc = { 0 };
+       zfs_cmd_t zc = { "\0", "\0", "\0", "\0", 0 };
        void *cookie;
 
        if (hdl->libzfs_ns_gen == 0) {
@@ -226,7 +226,7 @@ zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig)
 int
 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing)
 {
-       zfs_cmd_t zc = { 0 };
+       zfs_cmd_t zc = { "\0", "\0", "\0", "\0", 0 };
        int error;
        nvlist_t *config;
        libzfs_handle_t *hdl = zhp->zpool_hdl;